Download Print this page

ST STM32F413 Reference Manual page 1125

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F413:

Advertisement

RM0430
31
30
29
Res.
Res.
Res.
Res.
15
14
13
Res.
Res.
Res.
EHEN
Bits 31:21 Reserved, must be kept at reset value.
Bit 20 OTGVER: OTG version
Selects the OTG revision.
0:OTG Version 1.3.
1:OTG Version 2.0. In this version the core supports only Data line pulsing for SRP.
Bit 19 BSVLD: B-session valid
Indicates the device mode transceiver status.
0: B-session is not valid.
1: B-session is valid.
In OTG mode, you can use this bit to determine if the device is connected or disconnected.
Note: Only accessible in device mode.
Bit 18 ASVLD: A-session valid
Indicates the host mode transceiver status.
0: A-session is not valid
1: A-session is valid
Note: Only accessible in host mode.
Bit 17 DBCT: Long/short debounce time
Indicates the debounce time of a detected connection.
0: Long debounce time, used for physical connections (100 ms + 2.5 µs)
1: Short debounce time, used for soft connections (2.5 µs)
Note: Only accessible in host mode.
Bit 16 CIDSTS: Connector ID status
Indicates the connector ID status on a connect event.
0: The
1: The
Note: Accessible in both device and host modes.
Bits 15:13 Reserved, must be kept at reset value.
Bit 12 EHEN: embedded host enable
It is used to select between OTG A device state machine and embedded Host state machine.
0: OTG A device state machine is selected
1: Embedded host state machine is selected
Bit 11 DHNPEN: Device HNP enabled
The application sets this bit when it successfully receives a SetFeature.SetHNPEnable
command from the connected USB host.
0: HNP is not enabled in the application
1: HNP is enabled in the application
Note: Only accessible in device mode.
28
27
26
25
Res.
Res.
Res.
12
11
10
9
DHNP
HSHNP
HNP
EN
EN
RQ
rw
rw
rw
rw
OTG_FS
controller is in A-device mode
OTG_FS
controller is in B-device mode
DocID029473 Rev 3
USB on-the-go full-speed (OTG_FS)
24
23
22
21
Res.
Res.
Res.
Res.
8
7
6
5
HNG
BVALO
BVALO
AVALO
SCS
VAL
EN
VAL
r
rw
rw
rw
20
19
18
17
OTG
BSVLD ASVLD
DBCT
VER
rw
r
r
4
3
2
AVALO
VBVAL
VBVAL
SRQ
EN
OVAL
OEN
rw
rw
rw
rw
16
CID
STS
r
r
1
0
SRQ
SCS
r
1125/1284
1245

Advertisement

loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Stm32f423