Section 13 Realtime Clock (RTC)
Rev. 5.00 May 29, 2006 page 361 of 698
REJ09B0146-0500
13.5
Usage Note
13.5.1
Register Writing during RTC Count
The following RTC registers cannot be written to during an RTC count (while bit 0 = 1 in RCR2).
RSECCNT, RMINCNT, RHRCNT, RDAYCNT, RWKCNT, RMONCNT, RYRCNT
The RTC count must be halted before writing to any of the above registers.
13.5.2
Use of Realtime Clock (RTC) Periodic Interrupts
The method of using the periodic interrupt function is shown in figure 13.6.
A periodic interrupt can be generated periodically at the interval set by the periodic interrupt
enable flag (PES0 to PES2) in RCR2. When the time set by the PES0 to PES2 has elapsed, the
PEF is set to 1.
The PEF is cleared to 0 upon periodic interrupt generation when the periodic interrupt enable flag
(PES0 to PES2) is set. Periodic interrupt generation can be confirmed by reading this bit, but
normally the interrupt function is used.
Set PES0 to PES2,
and clear PEF to 0,
in RCR2
Clear PEF to 0
Set PES, clear PEF
Elapse of time set by PES
Clear PEF
Figure 13.6 Using Periodic Interrupt Function
Summary of Contents for SH7706 Series
Page 8: ...Rev 5 00 May 29 2006 page viii of xlviii ...
Page 160: ...Section 5 Cache Rev 5 00 May 29 2006 page 112 of 698 REJ09B0146 0500 ...
Page 370: ...Section 11 Watchdog Timer WDT Rev 5 00 May 29 2006 page 322 of 698 REJ09B0146 0500 ...
Page 554: ...Section 17 Pin Function Controller PFC Rev 5 00 May 29 2006 page 506 of 698 REJ09B0146 0500 ...
Page 576: ...Section 18 I O Ports Rev 5 00 May 29 2006 page 528 of 698 REJ09B0146 0500 ...
Page 746: ...Index Rev 5 00 May 29 2006 page 698 of 698 REJ09B0146 0500 ...
Page 749: ...SH7706 Group Hardware Manual ...