EasyManua.ls Logo

NXP Semiconductors LPC1768

NXP Semiconductors LPC1768
841 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
UM10360 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
User manual Rev. 3 — 20 December 2013 834 of 841
continued >>
NXP Semiconductors
UM10360
Chapter 35: Supplementary information
Chapter 27: LPC176x/5x Real-Time Clock (RTC) and backup registers
27.1 Basic configuration . . . . . . . . . . . . . . . . . . . . 559
27.2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 559
27.3 Description. . . . . . . . . . . . . . . . . . . . . . . . . . . 559
27.4 Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . 560
27.5 Pin description. . . . . . . . . . . . . . . . . . . . . . . . 561
27.6 Register description . . . . . . . . . . . . . . . . . . . 561
27.6.1 RTC interrupts . . . . . . . . . . . . . . . . . . . . . . . 563
27.6.2 Miscellaneous register group . . . . . . . . . . . . 563
27.6.2.1 Interrupt Location Register (ILR - 0x4002
4000) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 563
27.6.2.2 Clock Control Register (CCR - 0x4002 4008) 563
27.6.2.3 Counter Increment Interrupt Register (CIIR -
0x4002 400C). . . . . . . . . . . . . . . . . . . . . . . . 564
27.6.2.4 Alarm Mask Register (AMR - 0x4002 4010). 564
27.6.2.5 RTC Auxiliary control register (RTC_AUX -
0x4002 405C). . . . . . . . . . . . . . . . . . . . . . . . 565
27.6.2.6 RTC Auxiliary Enable register (RTC_AUXEN -
0x4002 4058) . . . . . . . . . . . . . . . . . . . . . . . . 565
27.6.3 Consolidated time registers . . . . . . . . . . . . . 566
27.6.3.1 Consolidated Time Register 0 (CTIME0 -
0x4002 4014) . . . . . . . . . . . . . . . . . . . . . . . . 566
27.6.3.2 Consolidated Time Register 1 (CTIME1 -
0x4002 4018) . . . . . . . . . . . . . . . . . . . . . . . . 566
27.6.3.3 Consolidated Time Register 2 (CTIME2 -
0x4002 401C) . . . . . . . . . . . . . . . . . . . . . . . 566
27.6.4 Time Counter Group . . . . . . . . . . . . . . . . . . 567
27.6.4.1 Leap year calculation. . . . . . . . . . . . . . . . . . 567
27.6.4.2 Calibration register (CALIBRATION - address
0x4002 4040) . . . . . . . . . . . . . . . . . . . . . . . . 567
27.6.5 Calibration procedure. . . . . . . . . . . . . . . . . . 568
Backward calibration . . . . . . . . . . . . . . . . . . . 568
Forward calibration . . . . . . . . . . . . . . . . . . . . 568
27.6.6 General purpose registers . . . . . . . . . . . . . 569
27.6.6.1 General purpose registers 0 to 4 (GPREG0 to
GPREG4 - addresses 0x4002 4044 to 0x4002
4054) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 569
27.6.7 Alarm register group . . . . . . . . . . . . . . . . . . 569
27.7 RTC usage notes. . . . . . . . . . . . . . . . . . . . . . 569
Chapter 28: LPC176x/5x Watchdog Timer (WDT)
28.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 570
28.2 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . 570
28.3 Description. . . . . . . . . . . . . . . . . . . . . . . . . . . 571
28.4 Register description . . . . . . . . . . . . . . . . . . . 571
28.4.1 Watchdog Mode register (WDMOD -
0x4000 0000) . . . . . . . . . . . . . . . . . . . . . . . . 572
28.4.2 Watchdog Timer Constant register (WDTC -
0x4000 0004) . . . . . . . . . . . . . . . . . . . . . . . . 573
28.4.3 Watchdog Feed register (WDFEED -
0x4000 0008) . . . . . . . . . . . . . . . . . . . . . . . . 573
28.4.4 Watchdog Timer Value register (WDTV -
0x4000 000C) . . . . . . . . . . . . . . . . . . . . . . . 573
28.4.5 Watchdog Timer Clock Source Selection register
(WDCLKSEL - 0x4000 0010). . . . . . . . . . . . 573
28.5 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . 574
Chapter 29: LPC176x/5x Analog-to-Digital Converter (ADC)
29.1 Basic configuration . . . . . . . . . . . . . . . . . . . . 575
29.2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 575
29.3 Description. . . . . . . . . . . . . . . . . . . . . . . . . . . 575
29.4 Pin description. . . . . . . . . . . . . . . . . . . . . . . . 576
29.5 Register description . . . . . . . . . . . . . . . . . . . 577
29.5.1 A/D Control Register (AD0CR - 0x4003
4000) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 578
29.5.2 A/D Global Data Register (AD0GDR -
0x4003 4004) . . . . . . . . . . . . . . . . . . . . . . . . 579
29.5.3 A/D Interrupt Enable register (AD0INTEN -
0x4003 400C) . . . . . . . . . . . . . . . . . . . . . . . 579
29.5.4 A/D Data Registers (AD0DR0 to AD0DR7 -
0x4003 4010 to 0x4003 402C). . . . . . . . . . . 580
29.5.5 A/D Status register (ADSTAT - 0x4003 4030) 581
29.5.6 A/D Trim register (ADTRIM - 0x4003 4034). 581
29.6 Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 582
29.6.1 Hardware-triggered conversion . . . . . . . . . . 582
29.6.2 Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . 582
29.6.3 Accuracy vs. digital receiver . . . . . . . . . . . . 582
29.6.4 DMA control . . . . . . . . . . . . . . . . . . . . . . . . . 582
Chapter 30: LPC176x/5x Digital-to-Analog Converter (DAC)
30.1 Basic configuration . . . . . . . . . . . . . . . . . . . . 583 30.2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 583

Table of Contents

Other manuals for NXP Semiconductors LPC1768

Related product manuals