
μ
PD30102
57
Preliminary Data Sheet
11. RTC (REAL-TIME CLOCK UNIT)
11.1 General
The RTC consists of the following three types of timers.
RTCLong timer (two timers)
This is a 24-bit programmable down counter that counts down at a cycle of 32.768 kHz. It can generate an
interrupt request at intervals of up to 512 seconds.
ElapsedTime timer (one timer)
This is a 48-bit up counter that counts up at a cycle of 32.768 kHz. When this counter counts up to about 272
years, it returns to 0. This counter consists of an 48-bit comparator (ECMPHREG, ECMPLREG, ECMPMREG)
and a 48-bit alarm time register (ETIMELREG, ETIMEMREG, ETIMEHREG). By comparing these, an interrupt
request can be generated at specific time.
TClock count timer (one timer)
This is a 25-bit programmable counter that counts down at each TClock cycle. Interrupt requests can be
generated with a cycle of up to 2 seconds by setting the CLKSEL pin. This timer is used for performance
evaluation.
Table 11-1. RTC Registers
Physical Address
Symbol
Function
0x0B00 00C0
ETIMELREG
Elapsed Time timer register, low
0x0B00 00C2
ETIMEMREG
Elapsed Time timer register, middle
0x0B00 00C4
ETIMEHREG
Elapsed Time timer register, high
0x0B00 00C8
ECMPLREG
Elapsed Time timer compare register, low
0x0B00 00CA
ECMPMREG
Elapsed Time timer compare register, middle
0x0B00 00CC
ECMPHREG
Elapsed Time timer compare register, high
0x0B00 00D0
RTCL1LREG
RTCLong 1 timer register, low
0x0B00 00D2
RTCL1HREG
RTCLong 1 timer register, high
0x0B00 00D4
RTCL1CNTLREG
RTCLong 1 timer count register, low
0x0B00 00D6
RTCL1CNTHREG
RTCLong 1 timer count register, high
0x0B00 00D8
RTCL2LREG
RTCLong 2 timer register, low
0x0B00 00DA
RTCL2HREG
RTCLong 2 timer register, high
0x0B00 00DC
RTCL2CNTLREG
RTCLong 2 timer count register, low
0x0B00 00DE
RTCL2CNTHREG
RTCLong 2 timer count register, high
0x0B00 01C0
TCLKLREG
TClock counter register, low
0x0B00 01C2
TCLKHREG
TClock counter register, high
0x0B00 01C4
TCLKCNTLREG
TClock counter count register, low
0x0B00 01C6
TCLKCNTHREG
TClock counter count register, high
0x0B00 01CE
RTCINTREG
RTC interrupt register