English
Language : 

RX5C348A Datasheet, PDF (44/45 Pages) RICOH electronics devices division – 4-WIRE SERIAL INTERFACE
Rx5C348A/B
(3) Applied Process of Reading Time and Calendar Data with Periodic Interrupt Function
Time data need not be read from all the time counters when used for such ordinary purposes as time count
indication. This applied process can be used to read time and calendar data with substantial reductions in the
load involved in such reading.
For Time Indication in "Day-of-Month, Day-of-week, Hour, Minute, and Second" Format:
Control Register 1←
(XXXX0100)
Control Register 2←
(X1X1X011)
*1)
Generate interrupt to CPU
CTFG=1?
Yes
*2)
Sec.=00?
Yes
Read Min.,Hr.,Day,
and Day-of-week
No
Other interrupts
Processes
No
*3)
Use previous Min.,Hr.,
Day, and Day-of-week data
*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
sec.
*3) This step is intended to read time data
from all the time counters only in the
first session of reading time data after
writing time data.
*4) This step is intended to set the CTFG
bit to 0 in the Control Register 2 to
cancel an interrupt to the CPU.
Control Register 2← *4)
(X1X1X011)
12345
Rev.2.01
- 44 -