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
UM10316_0
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 00.06 — 17 December 2008
564 of 571
continued >>
NXP Semiconductors
UM10316
Chapter 32: LPC29xx Supplementary information
OTG Timer Register (OTGTmr - 0xE010 C114) . .
222
OTG Clock Status Register (OTGClkSt -
0xE010 CFF8) . . . . . . . . . . . . . . . . . . . . . . . 223
I2C Receive Register (I2C_RX - 0xE010 C300). .
224
I2C Transmit Register (I2C_TX - 0xE010 C300) .
224
I2C Status Register (I2C_STS - 0xE010 C304) . .
225
I2C Control Register (I2C_CTL - 0xE010 C308) .
226
I2C Clock High Register (I2C_CLKHI -
0xE010 C30C) . . . . . . . . . . . . . . . . . . . . . . . 227
I2C Clock Low Register (I2C_CLKLO -
0xE010 C310). . . . . . . . . . . . . . . . . . . . . . . . 228
Interrupt handling . . . . . . . . . . . . . . . . . . . . . 228
HNP support . . . . . . . . . . . . . . . . . . . . . . . . . 229
B-device: peripheral to host switching . . . . . 230
Remove D+ pull-up . . . . . . . . . . . . . . . . . . . . 232
Add D+ pull-up . . . . . . . . . . . . . . . . . . . . . . . . 233
A-device: host to peripheral HNP switching. 233
Set BDIS_ACON_EN in external OTG transceiver
236
Clear BDIS_ACON_EN in external OTG trans-
ceiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
Discharge V
. . . . . . . . . . . . . . . . . . . . . . . 236
Clocking and power management . . . . . . . . 237
Device clock request signals . . . . . . . . . . . . 238
Clocking and power management . . . . . . . . 239
Device clock request signals . . . . . . . . . . . . 240
Host clock request signals . . . . . . . . . . . . . . 241
Power-down mode support . . . . . . . . . . . . . 241
USB OTG controller initialization . . . . . . . . 241
Chapter 16: LPC29xx General Purpose Input/Output (GPIO)
How to read this chapter . . . . . . . . . . . . . . . . 242
GPIO functional description . . . . . . . . . . . . . 242
GPIO register overview . . . . . . . . . . . . . . . . . 243
GPIO port input register . . . . . . . . . . . . . . . . 243
GPIO port output register. . . . . . . . . . . . . . . 244
GPIO port direction register . . . . . . . . . . . . . 244
Chapter 17: LPC29xx timer 0/1/2/3
How to read this chapter . . . . . . . . . . . . . . . . 246
Timer functional description. . . . . . . . . . . . . 246
Timer counter and interrupt timing . . . . . . . 247
Timer match functionality . . . . . . . . . . . . . . . 248
Timer capture functionality . . . . . . . . . . . . . . 248
Timer interrupt handling . . . . . . . . . . . . . . . . 248
Timer register overview. . . . . . . . . . . . . . . . . 249
Timer control register (TCR) . . . . . . . . . . . . . 250
Timer counter . . . . . . . . . . . . . . . . . . . . . . . . 250
Timer prescale register . . . . . . . . . . . . . . . . 251
Timer match-control register . . . . . . . . . . . . 251
Timer external-match register . . . . . . . . . . . 252
Timer match register . . . . . . . . . . . . . . . . . . 253
Timer capture-control register . . . . . . . . . . . 253
Timer capture register . . . . . . . . . . . . . . . . . 254
Timer interrupt bit description. . . . . . . . . . . . 255
How to read this chapter . . . . . . . . . . . . . . . . 256
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . 256
SPI functional description . . . . . . . . . . . . . . . 256
Modes of operation . . . . . . . . . . . . . . . . . . . . 256
Slave mode. . . . . . . . . . . . . . . . . . . . . . . . . . 258
SPI register overview . . . . . . . . . . . . . . . . . . 258
SPI configuration register . . . . . . . . . . . . . . . 260
SPI slave-enable register . . . . . . . . . . . . . . . 261
SPI transmit-FIFO flush register . . . . . . . . . 262
SPI FIFO data register . . . . . . . . . . . . . . . . . 262
SPI receive FIFO POP register . . . . . . . . . . 263
SPI receive-FIFO read-mode register . . . . . 263
SPI DMA settings register . . . . . . . . . . . . . . 264
SPI status register (Status) . . . . . . . . . . . . . 265