
GD32F403xx User Manual
705
on bus.
18:7
Reserved
Must be kept at reset value.
6:0
TLEN[6:0]
Transfer length
The total data byte number of a transfer.
This field is the total data bytes of all the data packets desired to receive in an
OUT transfer. Program this field before the endpoint is enabled. Each time
software reads out a packet from the Rx FIFO, this fiel d is decreased by the byte
size of the packet.
Device IN endpoint-x transfer length register (USBFS_DIEPxLEN) (x = 1..3,
where x = endpoint_number)
Address offset: 0x910 + (endpoint_number × 0x20)
Reset value: 0x0000 0000
This register has to be accessed by word (32-bit)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
R
e
se
rve
d
M
C
P
F
[1
:0
]
P
C
N
T
[9
:0
]
T
L
E
N
[1
8
:1
6
]
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
T
L
E
N
[1
5
:0
]
rw
Bits
Fields
Descriptions
31
Reserved
Must be kept at reset value.
30:29
MCPF[1:0]
Multi packet count per frame
This field indicates the packet count that must be transmitted per frame for
periodic IN endpoints on the USB. It is used to calculate the data PID for
isochronous IN endpoints by the core.
01: 1 packet
10: 2 packets
11: 3 packets
28:19
PCNT[9:0]
Packet count
The number of data packets desired to be transmitted in a transfer .
Program this field before the endpoint is enabled. After the transfer starts, this field
is decreased automatically by USBFS after each successful data packet
Содержание GD32F403 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F403xx Arm Cortex M4 32 bit MCU User Manual Revision 2 6 Jul 2022 ...
Страница 177: ...GD32F403xx UserManual 177 Peripheral Channel 0 Channel 1 Channel 2 Channel 3 Channel 4 SDIO SDIO ...
Страница 217: ...GD32F403xx UserManual 217 ensures that no conversion is in progress ...