ST STM32L4x6 Reference Manual page 1525

Table of Contents

Advertisement

RM0351
The application reads this register whenever there is an OTG interrupt and clears the bits in
this register to clear the OTG interrupt.
31
30
29
Res.
Res.
Res.
Res.
15
14
13
Res.
Res.
Res.
Res.
Bits 31:21 Reserved, must be kept at reset value.
Bit 20 IDCHNG:
This bit when set indicates that there is a change in the value of the ID input pin.
Bit 19 DBCDNE: Debounce done
The core sets this bit when the debounce is completed after the device connect. The
application can start driving USB reset after seeing this interrupt. This bit is only valid when
the HNP Capable or SRP Capable bit is set in the OTG_GUSBCFG register (HNPCAP bit or
SRPCAP bit in OTG_GUSBCFG, respectively).
Note: Only accessible in host mode.
Bit 18 ADTOCHG: A-device timeout change
The core sets this bit to indicate that the A-device has timed out while waiting for the B-device
to connect.
Note: Accessible in both device and host modes.
Bit 17 HNGDET: Host negotiation detected
The core sets this bit when it detects a host negotiation request on the USB.
Note: Accessible in both device and host modes.
Bits 16:10 Reserved, must be kept at reset value.
Bit 9 HNSSCHG: Host negotiation success status change
The core sets this bit on the success or failure of a USB host negotiation request. The
application must read the host negotiation success bit of the OTG_GOTGCTL register
(HNGSCS bit in OTG_GOTGCTL) to check for success or failure.
Note: Accessible in both device and host modes.
Bits 7:3 Reserved, must be kept at reset value.
Bit 8 SRSSCHG: Session request success status change
The core sets this bit on the success or failure of a session request. The application must
read the session request success bit in the OTG_GOTGCTL register (SRQSCS bit in
OTG_GOTGCTL) to check for success or failure.
Note: Accessible in both device and host modes.
Bit 2 SEDET: Session end detected
The core sets this bit to indicate that the level of the voltage on V
B-Peripheral session when V
Note: Accessible in both device and host modes.
Bits 1:0 Reserved, must be kept at reset value.
28
27
26
25
Res.
Res.
Res.
12
11
10
9
HNSS
Res.
Res.
CHG
rc_w1
DocID024597 Rev 3
USB on-the-go full-speed (OTG_FS)
24
23
22
21
Res.
Res.
Res.
Res.
8
7
6
5
SRSS
Res.
Res.
Res.
CHG
rc_w1
< 0.8 V.
BUS
20
19
18
17
ID
DBC
ADTO
HNG
CHNG
DNE
CHG
DET
rc_w1
rc_w1
rc_w1
rc_w1
4
3
2
Res.
Res.
SEDET
Res.
rc_w1
is no longer valid for a
BUS
16
Res.
1
0
Res.
1525/1693
1644

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32L4x6 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF