rs5c338a RICOH Co.,Ltd., rs5c338a Datasheet - Page 44
rs5c338a
Manufacturer Part Number
rs5c338a
Description
3-wire Serial Interface Real-time Clock Ics With Voltage Monitoring Function
Manufacturer
RICOH Co.,Ltd.
Datasheet
1.RS5C338A.pdf
(46 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
rs5c338a-E2
Manufacturer:
NS
Quantity:
1 044
Part Number:
rs5c338a-E2
Manufacturer:
RICOH/理光
Quantity:
20 000
44
R
8.3 Reading Time and Calendar Data
8.3-1 Ordinary Process of Reading Time and Calendar Data
8.3-2 Basic Process of Reading Time and Calendar Data Synchronized with Periodic Interrupt
×
Generate Interrupt in CPU
Read from Time Counter
and Calendar Counter
5C338A
Read from Time Counter
and Calendar Counter
Write “×,1,×,1,×,0,1,1”
to Control Register 2
Set Periodic Interrupt
Cycle Selection Bits
Wait for 31µs
CTFG=1?
YES
*
*
*
*
1
1
2
3
NO
Other Interrupt
Processes
*
*
*
*
1) This step of waiting is detailed in “1.5 Considerations in Reading and
1) This step is intended to select the level mode as a waveform mode for the
2) If this step is completed within 1 second, the step of waiting described in
3) This step is intended to set the CTFG bit to 0 in the control register 2 to
Writing Time Data”.
periodic interrupt function.
“8.3-1 Ordinary Process of Reading Time and Calendar Data” above need
not be conducted. This step is detailed in “1.5 Considerations in Reading
and Writing Time Data”.
cancel an interrupt to the CPU.