© Koninklijke Philips Electronics N.V. 2006. All rights reserved.
User manual
Rev. 01 — 12 January 2006
214
Philips Semiconductors
UM10161
Volume 1
Chapter 17: RTC
17.4 Register description
The RTC includes a number of registers. The address space is split into four sections by
functionality. The first eight addresses are the Miscellaneous Register Group
(
). The second set of eight locations are the Time Counter Group
(
). The third set of eight locations contain the Alarm Register Group
(
). The remaining registers control the Reference Clock Divider.
The Real Time Clock includes the register shown in
. Detailed descriptions of
the registers follow.
[1]
Registers in the RTC other than those that are part of the Prescaler are not affected by chip Reset. These
registers must be initialized by software if the RTC is enabled. Reset value reflects the data stored in used
bits only. It does not include reserved bits content.
Table 184: Real Time Clock (RTC) register map
Name
Size
Description
Access
Reset
value
Address
ILR
2
Interrupt Location Register
R/W
*
0xE002 4000
CTC
15
Clock Tick Counter
RO
*
0xE002 4004
CCR
4
Clock Control Register
R/W
*
0xE002 4008
CIIR
8
Counter Increment Interrupt Register
R/W
*
0xE002 400C
AMR
8
Alarm Mask Register
R/W
*
0xE002 4010
CTIME0
32
Consolidated Time Register 0
RO
*
0xE002 4014
CTIME1
32
Consolidated Time Register 1
RO
*
0xE002 4018
CTIME2
32
Consolidated Time Register 2
RO
*
0xE002 401C
SEC
6
Seconds Counter
R/W
*
0xE002 4020
MIN
6
Minutes Register
R/W
*
0xE002 4024
HOUR
5
Hours Register
R/W
*
0xE002 4028
DOM
5
Day of Month Register
R/W
*
0xE002 402C
DOW
3
Day of Week Register
R/W
*
0xE002 4030
DOY
9
Day of Year Register
R/W
*
0xE002 4034
MONTH
4
Months Register
R/W
*
0xE002 4038
YEAR
12
Years Register
R/W
*
0xE002 403C
ALSEC
6
Alarm value for Seconds
R/W
*
0xE002 4060
ALMIN
6
Alarm value for Minutes
R/W
*
0xE002 4064
ALHOUR
5
Alarm value for Seconds
R/W
*
0xE002 4068
ALDOM
5
Alarm value for Day of Month
R/W
*
0xE002 406C
ALDOW
3
Alarm value for Day of Week
R/W
*
0xE002 4070
ALDOY
9
Alarm value for Day of Year
R/W
*
0xE002 4074
ALMON
4
Alarm value for Months
R/W
*
0xE002 4078
ALYEAR
12
Alarm value for Year
R/W
*
0xE002 407C
PREINT
13
Prescaler value, integer portion
R/W
0
0xE002 4080
PREFRAC 15
Prescaler value, integer portion
R/W
0
0xE002 4084