English
Language : 

SH7261 Datasheet, PDF (694/1348 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7260 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 662 of 1312
REJ09B0320-0200