
GD32F403xx User Manual
684
to be transmitted in an OUT transfer. Software should program this field before the
channel is enabled. When software successfully writes a packet into the channel’s
data TxFIFO, this field is decreased by the byte size of the packet.
For IN transfer each time software or DMA reads out a pack et from the RxFIFO,
this field is decreased by the byte size of the packet.
23.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 af ter power on or af ter 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
s
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
10: 90% of the frame time l
11: 95% of the frame time
10:4
DAR[6:0]
Device address
This field defines the USB device’s address. USBFS uses this field to match with
the incoming token’s device address field. Software should program this field after
receiving a Set Address command from USB host.
Содержание 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 ...