Rtc (Real-Time Clock) Function - Hitachi SH7760 Solution Engine2 Overview

Table of Contents

Advertisement

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
Register
RTC control register
RTC status register
Second counter
Minute counter
Hour counter
Day-of-the-week counter
Day counter
Month counter
Year counter
Second alarm counter
Minute alarm counter
Hour alarm counter
Day-of-the-week alarm counter
Day alarm counter
Month alarm counter
RTC/Touch panel/Key input/Power supply
status register
Table 6.3 RTC Registers
Abbreviation
RTCCR
RTCSR
SECCNT
MINCNT
HRCNT
WKCNT
DAYCNT
MONCNT
YRCNT
SECAR
MINAR
HRAR
WKAR
DAYAR
MONAR
RTKISR
55
Address
R/W
Size
0x0000
R/W
1 byte
0x0001
R/W
1 byte
0x0002
R/W
1 byte
0x0003
R/W
1 byte
0x0004
R/W
1 byte
0x0005
R/W
1 byte
0x0006
R/W
1 byte
0x0007
R/W
1 byte
0x0008
R/W
1 byte
0x0009
R/W
1 byte
0x000A
R/W
1 byte
0x000B
R/W
1 byte
0x000C
R/W
1 byte
0x000D
R/W
1 byte
0x000E
R/W
1 byte
0x0090
R/W
1 byte
Remarks

Advertisement

Table of Contents
loading

Table of Contents