GD32W51x User Manual
870
Softw are should program this field before the channel is enabled. After the transfer
starts, this field is decreased automatically by USBFS after each successful data
packet transmission.
18:0
TLEN[18:0]
Transfer length
The total data bytes number of a transfer.
For OUT transfers, this field is the total data bytes of all the data packets desired to
be transmitted in an OUT transfer. Softw are should program this field before the
channel is enabled. When softw are successfully w rites a packet into the channel’s
data TxFIFO, this field is decreased by the byte size of the packet.
For IN transfer each time softw are or DMA reads out a packet from the RxFIFO, this
field is decreased by the byte size of the packet.
24.7.3.
Device control and status registers
Device configuration register (USBFS_DCFG)
Address offset: 0x0800
Reset value: 0x0000 0000
This register configures the core in device mode after power on or after certain control
commands or enumeration. Do not change this register after device initialization.
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
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
e
se
rve
d
E
O
P
F
T
[1
:0
]
D
A
R
[6
:0
]
R
e
se
rve
d
N
Z
L
S
O
H
D
S
[1
:0
]
rw
rw
rw
rw
Bits
Fields
Descriptions
31:13
Reserved
Must be kept at reset value
12:11
EOPFT[1:0]
End of periodic frame time
This field defines the percentage time point in a frame that the end of periodic frame
(EOPF) flag should be triggered.
00: 80% of the frame time
01: 85% of the frame time
Содержание GD32W515 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32W51x Arm Cortex M33 32 bit MCU User Manual Revision 1 0 Nov 2021 ...
Страница 66: ...GD32W51x User Manual 66 Bits Fields Descriptions 31 0 UNIQUE_ID 95 64 Unique device ID ...
Страница 389: ...GD32W51x User Manual 389 The FWDGT timeout can be more accurate by calibrating the IRC32K ...
Страница 504: ...GD32W51x User Manual 504 ...
Страница 710: ...GD32W51x User Manual 710 ...