RM0432
56.15.36 OTG device control register (OTG_DCTL)
Address offset: 0x804
Reset value: 0x0000 0002
31
30
29
Res.
Res.
Res.
Res.
15
14
13
Res.
Res.
Res.
Res.
Bits 31:19 Reserved, must be kept at reset value.
Bit 18 DSBESLRJCT: Deep sleep BESL reject
Bits 17:12 Reserved, must be kept at reset value.
Bit 11 POPRGDNE: Power-on programming done
Bit 10 CGONAK: Clear global OUT NAK
Bit 9 SGONAK: Set global OUT NAK
Bit 8 CGINAK: Clear global IN NAK
Bit 7 SGINAK: Set global IN NAK
Bits 6:4 TCTL[2:0]: Test control
28
27
26
25
Res.
Res.
Res.
12
11
10
9
PO
CGO
SGO
PRG
NAK
NAK
DNE
rw
w
w
Core rejects LPM request with BESL value greater than BESL threshold programmed.
NYET response is sent for LPM tokens with BESL value greater than BESL threshold. By
default, the deep sleep BESL reject feature is disabled.
The application uses this bit to indicate that register programming is completed after a
wakeup from power down mode.
Writing 1 to this field clears the Global OUT NAK.
Writing 1 to this field sets the Global OUT NAK.
The application uses this bit to send a NAK handshake on all OUT endpoints.
The application must set the this bit only after making sure that the Global OUT NAK
effective bit in the core interrupt register (GONAKEFF bit in OTG_GINTSTS) is cleared.
Writing 1 to this field clears the Global IN NAK.
Writing 1 to this field sets the Global non-periodic IN NAK.The application uses this bit to
send a NAK handshake on all non-periodic IN endpoints.
The application must set this bit only after making sure that the Global IN NAK effective bit
in the core interrupt register (GINAKEFF bit in OTG_GINTSTS) is cleared.
000: Test mode disabled
001: Test_J mode
010: Test_K mode
011: Test_SE0_NAK mode
100: Test_Packet mode
101: Test_Force_Enable
Others: Reserved
USB on-the-go full-speed (OTG_FS)
24
23
22
Res.
Res.
Res.
8
7
6
CGI
SGI
TCTL[2:0]
NAK
NAK
w
w
rw
RM0432 Rev 6
21
20
19
18
DS
Res.
Res.
Res.
BESL
RJCT
rw
5
4
3
2
GON
GIN
STS
STS
rw
rw
r
r
17
16
Res.
Res.
1
0
RWU
SDIS
SIG
rw
rw
2161/2301
2245
Need help?
Do you have a question about the STM32L4+ Series and is the answer not in the manual?