GD32F10x User Manual
815
1: Enable channel-n interrupt
Each bit represents a channel: Bit 0 for channel 0, bit 7 for channel 7.
Host port control and status register (USBFS_HPCS)
Address offset: 0x0440
Reset value: 0x0000 0000
This register controls the
port’s behavior and also has some flags which report the status of
the port. The HPIF flag in USBFS_GINTF register will be triggered if one of these flags in this
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
Rese
rve
d
P
S
[1
:0
]
Rese
rve
d
r
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Rese
rve
d
PP
P
L
S
T
[1
:0
]
Rese
rve
d
P
RS
T
PSP
P
RE
M
Rese
rve
d
P
E
DC
PE
P
CD
P
CS
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 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 VBUS before setting this bit.
0: Port is powered off
1: Port is powered on
11:10
PLST[1:0]
Port line status
Report the current state of USB data lines
Содержание GD32F10 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F10x Arm Cortex M3 32 bit MCU User Manual Revision 2 6 Jun 2022 ...
Страница 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Страница 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Страница 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Страница 427: ...GD32F10x User Manual 427 value ...
Страница 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...