English
Language : 

SH7201 Datasheet, PDF (686/1196 Pages) Renesas Technology Corp – 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. 2.00 Sep. 07, 2007 Page 658 of 1164
REJ09B0321-0200