55
6.3 RTC (Real-time Clock) Functions
This section describes the RTC functions. Table 6.1 summarizes the RTC registers. For detailed description of
each register, refer to 6.3.1 to 6.3.17.
(1) Function for counting the seconds, minutes, hour, day of the week, month and year (BCD code)
(2) RTC start/stop function
(3) Alarm interrupt function
(4) 1sec/0.5sec cyclic interrupt function
(5) Automatic correction function for leap years
(6) Effective range of operation from January 1, 2000 to December 31, 2099
Table 6.3 RTC Registers
Register
Abbreviation
Address
R/W
Size
Remarks
RTC control register
RTCCR
0x0000
R/W
1 byte
RTC status register
RTCSR
0x0001
R/W
1 byte
Second counter
SECCNT
0x0002
R/W
1 byte
Minute counter
MINCNT
0x0003
R/W
1 byte
Hour counter
HRCNT
0x0004
R/W
1 byte
Day-of-the-week counter
WKCNT
0x0005
R/W
1 byte
Day counter
DAYCNT
0x0006
R/W
1 byte
Month counter
MONCNT
0x0007
R/W
1 byte
Year counter
YRCNT
0x0008
R/W
1 byte
Second alarm counter
SECAR
0x0009
R/W
1 byte
Minute alarm counter
MINAR
0x000A
R/W
1 byte
Hour alarm counter
HRAR
0x000B
R/W
1 byte
Day-of-the-week alarm counter
WKAR
0x000C
R/W
1 byte
Day alarm counter
DAYAR
0x000D
R/W
1 byte
Month alarm counter
MONAR
0x000E
R/W
1 byte
RTC/Touch panel/Key input/Power supply
status register
RTKISR
0x0090
R/W
1 byte
Summary of Contents for SH7760 Solution Engine2
Page 3: ......