
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
804 of 808
continued >>
NXP Semiconductors
UM10360
Chapter 35: LPC17xx Supplementary information
Alarm Mask Register (AMR - 0x4002 4010) . 537
Consolidated time registers . . . . . . . . . . . . . 538
Time Counter Group . . . . . . . . . . . . . . . . . . 539
Leap year calculation . . . . . . . . . . . . . . . . . . 540
Calibration procedure. . . . . . . . . . . . . . . . . . 541
General purpose registers . . . . . . . . . . . . . 542
Alarm register group . . . . . . . . . . . . . . . . . . 542
RTC usage notes. . . . . . . . . . . . . . . . . . . . . . 542
Chapter 28: LPC17xx Watchdog Timer (WDT)
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 543
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . 543
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 543
Register description . . . . . . . . . . . . . . . . . . . 544
Watchdog Mode register (WDMOD -
0x4000 0000) . . . . . . . . . . . . . . . . . . . . . . . . 544
Watchdog Feed register (WDFEED -
0x4000 0008) . . . . . . . . . . . . . . . . . . . . . . . . 546
Watchdog Timer Value register (WDTV -
0x4000 000C) . . . . . . . . . . . . . . . . . . . . . . . 546
Watchdog Timer Clock Source Selection register
(WDCLKSEL - 0x4000 0010). . . . . . . . . . . . 546
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . 547
Chapter 29: LPC17xx Analog-to-Digital Converter (ADC)
Basic configuration . . . . . . . . . . . . . . . . . . . . 549
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 549
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 549
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 549
Register description . . . . . . . . . . . . . . . . . . . 550
A/D Control Register (AD0CR - 0x4003 4000) . . .
551
A/D Global Data Register (AD0GDR -
0x4003 4004) . . . . . . . . . . . . . . . . . . . . . . . . 552
A/D Data Registers (AD0DR0 to AD0DR7 -
0x4003 4010 to 0x4003 402C). . . . . . . . . . . 554
A/D Status register (ADSTAT - 0x4003 4030) 554
A/D Trim register (ADTRIM - 0x4003 4034). 555
Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 555
Hardware-triggered conversion . . . . . . . . . . 555
Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . 555
Accuracy vs. digital receiver . . . . . . . . . . . . 556
DMA control . . . . . . . . . . . . . . . . . . . . . . . . . 556
Chapter 30: LPC17xx Digital-to-Analog Converter (DAC)
Basic configuration . . . . . . . . . . . . . . . . . . . . 557
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 557
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 557
Register description . . . . . . . . . . . . . . . . . . . 558
D/A Converter Register (DACR - 0x4008 C000) .
558
D/A Converter Counter Value register
(DACCNTVAL - 0x4008 C008). . . . . . . . . . . 559
Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 559
DMA counter . . . . . . . . . . . . . . . . . . . . . . . . 559
Double buffering. . . . . . . . . . . . . . . . . . . . . . 560
Chapter 31: LPC17xx General Purpose DMA (GPDMA) controller
Basic configuration . . . . . . . . . . . . . . . . . . . . 561
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . 561