
USB on-the-go full-speed (OTG_FS)
RM0351
1714/1830
DocID024597 Rev 5
47.15.53 OTG power and clock gating control register (OTG_PCGCCTL)
Address offset: 0xE00
Reset value: 0x0x200B 8000
This register is available in host and device modes.
Bit 31 Reserved, must be kept at reset value.
Bits 30:29
RXDPID:
Received data PID
Applies to isochronous OUT endpoints only.
This is the data PID received in the last packet for this endpoint.
00: DATA0
10: DATA1
STUPCNT:
SETUP packet count
Applies to control OUT Endpoints only.
This field specifies the number of back-to-back SETUP data packets the endpoint can
receive.
01: 1 packet
10: 2 packets
11: 3 packets
Bits 28:19
PKTCNT:
Packet count
Indicates the total number of USB packets that constitute the Transfer Size amount of data
for this endpoint.
This field is decremented every time a packet (maximum size or short packet) is written to
the Rx FIFO.
Bits 18:0
XFRSIZ:
Transfer size
This field contains the transfer size in bytes for the current endpoint. The core only interrupts
the application after it has exhausted the transfer size amount of data. The transfer size can
be set to the maximum packet size of the endpoint, to be interrupted at the end of each
packet.
The core decrements this field every time a packet is read from the Rx FIFO and written to
the external memory.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
SUSP
PHY
SLEEP
ENL1
GTG
PHY
SUSP
Res.
Res.
GATE
HCLK
STPP
CLK
r
r
r/w
r
rw
rw
Bits 31:8 Reserved, must be kept at reset value.
Bit 7
SUSP:
Deep Sleep
This bit indicates that the PHY is in Deep Sleep when in L1 state.
Bit 6
PHYSLEEP:
PHY in Sleep
This bit indicates that the PHY is in the Sleep state.