R5S72011 RENESAS [Renesas Technology Corp], R5S72011 Datasheet - Page 691

no-image

R5S72011

Manufacturer Part Number
R5S72011
Description
32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7200 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
15.5.5
Figure 15.7 shows the procedure for setting the 30-second adjustment function.
To use the 30-second adjustment function, the minutes, hours, date, day of the week, month, and
year counters need to be written to. Thus, after clearing the START bit in RCR2 and reading out
the minutes, hours, date, day of the week, month, and year counters and then writing the read
values back, set the ADJ bit in RCR2 to 1. After the 30-second adjustment, set the START bit in
RCR2 to 1 to start the clock operation.
Procedure for Setting the 30-Second Adjustment Function
Figure 15.7 Procedure for Setting the 30-Second Adjustment Function
Set minutes, hours, date, day
of the week, month, and year
Set ADJ bit
Stop clock
Start clock
Clear the START bit in RCR2 to 0.
The order is irrelevant.
For the respective counters, read out each
value and then write it back.
Set the ADJ bit in RCR2 to 1.
Set the START bit in RCR2 to 1.
Rev. 2.00 Sep. 07, 2007 Page 663 of 1164
Section 15 Realtime Clock (RTC)
REJ09B0321-0200

Related parts for R5S72011