GD32F403xx User Manual
677
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
P
S
[1
:0
]
R
e
se
rve
d
r
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
e
se
rve
d
PP
P
L
S
T
[1
:0
]
R
e
se
rve
d
P
R
S
T
PSP
P
R
E
M
R
e
se
rve
d
P
E
D
C
PE
P
C
D
P
C
S
T
rw
r
rw
rs
rw
rc_w1
rc_w1
rc_w1
r
Bits
Fields
Descriptions
31:19
Reserved
Must be kept at reset value.
18:17
PS
Port speed
Report the enumerated speed of the device attached to this port.
01: Full speed
10: Low speed
Others: Reserved
16:13
Reserved
Must be kept at reset value.
12
PP
Port power
This bit should be set before a port is used. Because USBFS doesn’t have power
supply ability, it only uses this bit to know whether the port is in powered state.
Software should ensure the true power supply on V
BUS
before setting this bit.
0: Port is powered off
1: Port is powered on
11:10
PLST
Port line status
Report the current state of USB data lines
Bit 10: State of DP line
Bit 11: State of DM line
9
Reserved
Must be kept at reset value.
8
PRST
Port reset
Application sets this bit to start a reset signal on USB port. Application should
clear this bit when it wants to stop the reset signal.
0: Port is not in reset state
1: Port is in reset state
7
PSP
Port suspend
Application sets this bit to put port into suspend state. When this bit is set the port
Содержание 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 ...