English
Language : 

HD6417706 Datasheet, PDF (14/709 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series
Item
Page
13.4.2 Setting Time
341
Figure 13.2 Setting the Time
Revision (See Manual for Details)
Figure 13.2 amended
To reset the divider circuit (RTC prescaler
and R64CNT) and set the counter
Stop clock,
reset divider circuit
Write 0 to START and 1 to
RESET 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
13.4.3 Reading the Time 342 Figure 13.3 amended
Figure 13.3 Reading the
Time
(a) To read the time
without using interrupts
Disable the carry
interrupt
Write 0 to CIE in RCR1
Clear the carry flag
Read counter
register
Write 0 to CF in RCR1
Note: Set AF to 1 so that alarm
flag is not cleared.
13.4.4 Alarm Function
343
Figure 13.4 Using the Alarm
Function
Yes
Carry flag = 1?
Read RCR1 and check CF
No
Figure 13.4 amended
Set alarm time
Clear alarm flag
Always reset, since the flag may have been
set while the alarm time was being set
(AF bit in RCR1 is cleared).
14.1 Feature
347 Description added
The SCI has the following features.
• Selectable from asynchronous or clock synchronous as the serial
communications mode
Rev. 4.00, 03/04, page xiv of xlvi