English
Language : 

RX5C348A Datasheet, PDF (43/45 Pages) RICOH electronics devices division – 4-WIRE SERIAL INTERFACE
Reading Time and Calendar Data
(1) Ordinary Process of Reading Time and Calendar Data
Rx5C348A/B
*1)
CE ← H
Read from Time Counter
and Calendar Counter
CE ← L
*2)
*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
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".
(2) Basic Process of Reading Time and Calendar Data with Periodic Interrupt Function
Set Periodic Interrupt *1)
Cycle Selection Bits
*1) This step is intended to select the level mode as a
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.
Generate Interrupt in CPU
No
CTFG=1?
Yes
*2)
Read from Time Counter
and Calendar Counter
*3)
Control Register 2
←(X1X1X011)
Other Interrupt
Processes
Rev.2.01
12345
- 43 -