![Geehy SEMICONDUCTOR APM32F405 Series Скачать руководство пользователя страница 487](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630487.webp)
www.geehy.com Page 486
Field
Name
R/W
Description
18:0
EPTRS
R/W
Endpoint Transfer Size
This bit indicates the data size contained by endpoint x in one data
transmission (in byte).
28:19
EPPCNT
R/W
Endpoint Packet Count
This bit indicates the number of data packets contained by endpoint x
in one data transmission.
30:29
TXDCNT
R/W
Transmit Packet Count
For periodic IN endpoints, this bit indicates the number of data
packets that must be transmitted per frame on USB.
For the calculation synchronization IN endpoint, this bit calculates
the data PID of the endpoint.
01: 1
10: 2
11: 3
31
Reserved
Full-speed OTG device IN endpoint x TXFIFO state register
(OTG_FS_DITXFSTSx) (x=0~3, endpoint number)
Offset address: 0x918+0x20m; m=0~3
Field
Name
R/W
Description
15:0
INEPTXFSA
R
IN Endpoint TXFIFO Space Available
This bit indicates the available space of the IN endpoint
TXFIFO (in word).
0x0: IN endpoint TXFIFO is full
0x1: 1 byte
0x2: 2 bytes
0xn: n bytes are available (0<n<512)
Other value: Reserved
31:16
Reserved
Full-speed OTG device OUT endpoint 0 control register
(OTG_FS_DOEPCTRL0)
Offset address: 0xB00
Reset value: 0x0000 8000
Field
Name
R/W
Description
1:0
MAXPS
R
Maximum Packet Size
This bit configures the maximum data packet size of endpoint.
00: 64 bytes
01: 32 bytes
10: 16 bytes
11: 8 bytes
14:2
Reserved