Chapter 12
Real Time Clock (RTC)
12.1 Overview
Real Time Clock (RTC) provides the calendar function.
Table:12.1.1 shows functions of RTC.
Function
Clock source
Time display
Periodic interrupt
Alarm 0 interrupt
Alarm 1 interrupt
RTC time base timer
output (2 Hz)
RTC time base timer
output (1 Hz)
XII - 2
Overview
Table:12.1.1 RTC Function
RTC time base timer output (1 Hz)
Auto calender (years with the last two digits from 00 until 99)
Adjustment for leap year
(Years ending in "00" and divisible by 4 are set as leap years.)
Two time Display mode: 12-hour clock or 24-hour clock.
1/2-second
1-second
1-minute
1-hour
Generated when specified date/hour/minute match.
Generated when specified month/day/hour/minute match.
Controls periodic interrupts.
0.5 seconds
1 second
Operation
control
Figure:12.1.1 Block Diagram of RTC
Description
Alarm 0 interrupts.
1 minute
1 hour
Alarm 1 interrupts.
Clock Counter
(second/minute/hour/date/date of week/month/year)
Periodic interrupt
Controls
Alarm 0 interrupt
Controls
Alarm 1 interrupt