
DocID024597 Rev 5
RM0351
USB on-the-go full-speed (OTG_FS)
1774
Reset value: 0x0000 0010
47.15.16 OTG ADP timer, control and status register
(OTG_GADPCTL)
Address offset: 0x060
Reset value: 0x0000 0000
The OTG_GADPCTL register must be accessed as follows:
•
In order to read from the OTG_GADPCTL register, program AR=0b01 and keep polling
till AR=0b00. The core updates the other fields of this register and makes AR=0b00.
Read values of this register are valid only when AR=0b00.
•
In order to write to the OTG_GADPCTL register, program AR=0b10 along with the
values for the other fields and keep polling till AR=0b00. When AR becomes 0b00, it
means that the programmed value has taken effect inside the core.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
ADPIF
Res.
Res.
Res.
Res.
Res.
Res.
Res.
rc_w1
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
ADPM
EN
rw
Bits 31:24 Reserved, must be kept at reset value.
Bit 23
ADPIF:
ADP interrupt flag
This bit is set whenever there is an ADP event
Bits 22:1 Reserved, must be kept at reset value.
Bit 0
ADPMEN:
ADP module enable
This bit enables or disables the ADP logic.
0: Disable ADP module
1: Enable ADP module
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Res.
Res.
Res.
AR
ADP
TOIM
ADP
SNSIM
ADP
PRBIM
ADP
TOIF
ADP
SNSIF
ADP
PRBIF
ADPEN
ADP
RST
ENA
SNS
ENA
PRB
RTIM
rw
rw
rw
rw
rw
rc_w1 rc_w1 rc_w1
rw
rs
rw
rw
r
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
RTIM
PRBPER
PRBDELTA
PRBDSCHG
r
r
r
r
r
r
r
r
r
r
rw
rw
rw
rw
rw
rw