![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 675](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_1721827675.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
675 of 1441
NXP Semiconductors
UM10503
Chapter 25: LPC43xx/LPC43Sxx USB0 Host/Device/OTG controller
The status inputs are debounced using a 1 msec time constant. Values on the status
inputs that do not persist for more than 1 msec will not cause an update of the status input
register or cause an OTG interrupt.
Table 492. OTG Status and Control register (OTGSC - address 0x4000 61A4) bit description
Bit
Symbol
Value
Description
Reset
value
Access
0
VD
VBUS_Discharge
Setting this bit to 1 causes VBUS to discharge through a resistor.
0
R/W
1
VC
VBUS_Charge
Setting this bit to 1 causes the VBUS line to be charged. This is used for
VBUS pulsing during SRP.
0
R/W
2
HAAR
Hardware assist auto_reset
0
R/W
0
Disabled
1
Enable automatic reset after connect on host port.
3
OT
OTG termination
This bit must be set to 1 when the OTG controller is in device mode. This
controls the pull-down on USB_DM.
0
R/W
4
DP
Data pulsing
Setting this bit to 1 causes the pull-up on USB_DP to be asserted for data
pulsing during SRP.
0
R/W
5
IDPU
ID pull-up.
This bit provides control over the pull-up resistor.
1
R/W
0
Pull-up off. The ID bit will not be sampled.
1
Pull-up on.
6
HADP
Hardware assist data pulse
Write a 1 to start data pulse sequence.
0
R/W
7
HABA
Hardware assist B-disconnect to A-connect
0
R/W
0
Disabled.
1
Enable automatic B-disconnect to A-connect sequence.
8
ID
USB ID
0
RO
0
A-device
1
B-device
9
AVV
A-VBUS valid
Reading 1 indicates that VBUS is above the A-VBUS valid threshold.
0
RO
10
ASV
A-session valid
Reading 1 indicates that VBUS is above the A-session valid threshold.
0
RO
11
BSV
B-session valid
Reading 1 indicates that VBUS is above the B-session valid threshold.
0
RO
12
BSE
B-session end
Reading 1 indicates that VBUS is below the B-session end threshold.
0
RO
13
MS1T
1 millisecond timer toggle
This bit toggles once per millisecond.
0
RO
14
DPS
Data bus pulsing status
Reading a 1 indicates that data bus pulsing is detected on the port.
0
RO
15
-
-
Reserved
0