UM10208_2
© NXP B.V. 2007. All rights reserved.
User manual
Rev. 02 — 1 June 2007
146 of 362
NXP Semiconductors
UM10208
Chapter 13: LPC2800 RTC
date and time for an interrupt to be generated. The AMR provides a mechanism to mask
alarm compares. If all non-masked alarm registers match the value in their corresponding
time counter, then an interrupt is generated.
6.
Register description
The RTC includes 25 registers. They are split into four sections by functionality. The first
section is the Miscellaneous Register Group (
). The second section is the
Consolidated Time Register Group (
). The third section is the Time
Counter Group (
). The last section is the Alarm Register Group
(
).
The Real Time Clock includes the registers shown in
. Detailed descriptions
of the registers follow. In these descriptions, for most of the registers the Reset Value
column shows "NC", meaning that these registers are not changed by a Reset. Software
must initialize these registers between power-on and setting the RTC into operation.
Table 151. Real Time Clock register map
Name
Size
Description
Access
Reset
Value
Address
RTC_CFG 1
RTC Configuration Register
R/W
0
0x8000 5024
ILR
2
Interrupt Location Register
R/W
*
0x8000 2000
CTC
15
Clock Tick Counter
RO
*
0x8000 2004
CCR
4
Clock Control Register
R/W
*
0x8000 2008
CIIR
8
Counter Increment Interrupt Register
R/W
*
0x8000 200C
AMR
8
Alarm Mask Register
R/W
*
0x8000 2010
CTIME0
32
Consolidated Time Register 0
RO
*
0x8000 2014
CTIME1
32
Consolidated Time Register 1
RO
*
0x8000 2018
CTIME2
32
Consolidated Time Register 2
RO
*
0x8000 201C
SEC
6
Seconds Counter
R/W
*
0x8000 2020
MIN
6
Minutes Register
R/W
*
0x8000 2024
HOUR
5
Hours Register
R/W
*
0x8000 2028
DOM
5
Day of Month Register
R/W
*
0x8000 202C
DOW
3
Day of Week Register
R/W
*
0x8000 2030
DOY
9
Day of Year Register
R/W
*
0x8000 2034
MONTH
4
Months Register
R/W
*
0x8000 2038
YEAR
12
Years Register
R/W
*
0x8000 203C
ALSEC
6
Alarm value for Seconds
R/W
*
0x8000 2060
ALMIN
6
Alarm value for Minutes
R/W
*
0x8000 2064
ALHOUR
5
Alarm value for Seconds
R/W
*
0x8000 2068
ALDOM
5
Alarm value for Day of Month
R/W
*
0x8000 206C
ALDOW
3
Alarm value for Day of Week
R/W
*
0x8000 2070
ALDOY
9
Alarm value for Day of Year
R/W
*
0x8000 2074
ALMON
4
Alarm value for Months
R/W
*
0x8000 2078
ALYEAR
12
Alarm value for Year
R/W
*
0x8000 207C