GD32W51x User Manual
863
register is set by USBFS: PRST, PEDC and PCD.
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[1:0]
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 pow er
This bit should be set before a
port is used. Because USBFS doesn’t have pow er
supply ability, it only uses this bit to know w hether the port is in pow ered state.
Softw are should ensure the true pow er supply on V BUS before setting this bit.
0: Port is pow ered off
1: Port is pow ered on
11:10
PLST[1:0]
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 w hen it w ants to stop the reset signal.
0: Port is not in reset state
1: Port is in reset state
Содержание 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 ...