
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
252 of 808
NXP Semiconductors
UM10360
Chapter 13: LPC17xx USB OTG controller
8.7 OTG Timer Register (OTGTmr - 0x5000 C114)
8.8 OTG Clock Control Register (OTGClkCtrl - 0x5000 CFF4)
This register controls the clocking of the OTG controller. Whenever software wants to
access the registers, the corresponding clock control bit needs to be set. The software
does not have to repeat this exercise for every register access, provided that the
corresponding OTGClkCtrl bits are already set.
10
PU_REMOVED
When the B-device changes its role from peripheral to
host, software sets this bit when it removes the D+
pull-up, see
. Hardware clears this bit when
HNP_SUCCESS or HNP_FAILURE is set.
0
15:11 -
Reserved, user software should not write ones to
reserved bits. The value read from a reserved bit is not
defined.
NA
31:16 TMR_CNT
Current timer count value.
0x0
Table 237. OTG Status Control register (OTGStCtrl - address 0x5000 C110) bit description
Bit
Symbol
Description
Reset
Value
Table 238. OTG Timer register (OTGTmr - address 0x5000 C114) bit description
Bit
Symbol
Description
Reset
Value
15:0
TIMEOUT_CNT The TMR interrupt is set when TMR_CNT reaches this value.
0xFFFF
31:16 -
Reserved, user software should not write ones to reserved
bits. The value read from a reserved bit is not defined.
NA
Table 239. OTG clock control register (OTG_clock_control - address 0x5000 CFF4) bit
description
Bit
Symbol
Value
Description
Reset
Value
0
HOST_CLK_EN
Host clock enable
0
0
Disable the Host clock.
1
Enable the Host clock.
1
DEV_CLK_EN
Device clock enable
0
0
Disable the Device clock.
1
Enable the Device clock.
2
I2C_CLK_EN
I
2
C clock enable
0
0
Disable the I
2
C clock.
1
Enable the I
2
C clock.
3
OTG_CLK_EN
OTG clock enable
0
0
Disable the OTG clock.
1
Enable the OTG clock.