Datasheet

Section 11 Realtime Clock (RTC)
Rev.7.00 Dec. 24, 2008 Page 349 of 698
REJ09B0074-0700
Section 11 Realtime Clock (RTC)
The realtime clock (RTC) is a timer used to count time ranging from a second to a week. Figure
11.1 shows the block diagram of the RTC.
11.1 Features
Counts seconds, minutes, hours, and day-of-week
Start/stop function
Reset function
Readable/writable counter of seconds, minutes, hours, and day-of-week with BCD codes
Periodic (seconds, minutes, hours, days, and weeks) interrupts
8-bit free running counter
Selection of clock source
8-bit bus (3 cycle access timing) connected to the external bus
RTC register is allocated to a part of area 7 of external address (H'FFFF48 to H'FFFF4F)
PSS
32-kHz
oscillator
circuit
RTCCSR
RSECDR
RMINDR
RWKDR
Clock count
control circuit
Interrupt
control circuit
Interrupt IRQ
5
RTCCR1
RHRDR
RTCCR2
Internal data bus
1/4
TMOW
Legend:
RTCCSR:
RSECDR:
RMINDR:
RHRDR:
RWKDR:
RTCCR1:
RTCCR2:
PSS:
Clock source select register
Second date register
Minute date register
Hour date register
Day-of-week date register
RTC control register 1
RTC control register 2
Prescaler S
Figure 11.1 Block Diagram of RTC