![Geehy SEMICONDUCTOR APM32F405 Series Скачать руководство пользователя страница 473](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630473.webp)
www.geehy.com Page 472
Field
Name
R/W
Description
6
PRS
R/W
Port Resume
0: Resume signal is not driven
1: Resume signal is driven
7
PSUS
R/S
Port Suspend
0: Port is not suspended
1: Port is suspended
8
PRST
R/W
Port Reset
The prot can start reset only when this bit is set to 1 for over
10ms.
0: Not in reset state
1: In reset state
9
Reserved
11:10
PDLSTS
R
Port Data Line Status
This bit indicates the logic level of the USB data line at this time.
[10] bit means OTG_FS_FS_DP
[11] bit means OTG_FS_FS_DM
12
PP
R/W
Port Power
This bit controls the power-on of the port. If there is overload,
the port will power down (clear 0).
0: Power down
1: Power on
16:13
PTSEL
R/W
Port Test Mode Select
0000: Test is disabled
0001
:
Test_J
0010
:
Test_K
0011
:
Test_SE0_NAK
0100
:
Test_Packet
0101
:
Test_Force_Enable
Others: Reserved
18:17
PSPDSEL
R
Port Speed Select
01: Full speed
10: Low speed
11: Reserved
31:19
Reserved
Full-speed OTG host channel-X characteristics register
(OTG_FS_HCHX) (X=0…7)
Offset address: 0x500+20*X
Reset value: 0x0000 0000
Field
Name
R/W
Description
10:0
MAXPSIZE
R/W
Maximum Data Packet Size
This bit indicates the maximum data packet size of the device
endpoint connected to the host.
14:11
EDPNUM
R/W Endpoint Number