Rx5C348A/B
ꢁ
Reading Time and Calendar Data
(1) Ordinary Process of Reading Time and Calendar Data
*1)
*1) When writing to clock and calendar counters, do not insert Stop Condition
until all times from second to year have been written to prevent error in
CE ← H
writing time. (Detailed "P.24 ꢁ Considerations in Reading and Writing
Time Data under special condition".
*2) Take care so that process from Start Condition to Stop Condition will be
complete within 0.5sec. (Detailed in "P.24 ꢁ Considerations in
Reading and Writing Time Data under special condition".
Read from Time Counter
and Calendar Counter
*2)
CE ← L
(2) Basic Process of Reading Time and Calendar Data with Periodic Interrupt Function
*1) This step is intended to select the level mode as a
Set Periodic Interrupt
Cycle Selection Bits
waveform mode for the periodic interrupt function.
*2) This step must be completed within 1.0 second.
*3) This step is intended to set the CTFG bit to 0 in the
Control Register 2 to cancel an interrupt to the CPU.
*1)
Generate Interrupt in CPU
No
Other Interrupt
Processes
CTFG=1?
Yes
*2)
Read from Time Counter
and Calendar Counter
*3)
Control Register 2
←(X1X1X011)
12345
Rev.2.01
- 43 -