English
Language : 

SH7205 Datasheet, PDF (755/1904 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7200 Series
Section 15 Realtime Clock (RTC)
15.4 Operation
RTC usage is shown below.
15.4.1 Initial Settings of Registers after Power-On
All the registers should be set after the power is turned on.
15.4.2 Setting Time
Figure 15.2 shows how to set the time when the clock is stopped.
Stop clock,
reset divider circuit
Write 1 to RESET and 0 to
START in the RCR2 register
Set seconds, minutes,
hour, day, day of the
week, month, and year
Order is irrelevant
Start clock
Write 1 to START in the
RCR2 register
Figure 15.2 Setting Time
Rev. 1.00 Mar. 25, 2008 Page 723 of 1868
REJ09B0372-0100