Write 鈥溍?1,脳,1,脳,0,1,1鈥?/div>
to Control Register 2
*
1
Generate Interrupt to CPU
NO
CTFG=1?
YES
Second Digit=00?
YES
Read Minute, Hour, Day-of-week,
and Day-of-month Counters
*
2
NO
Other Interrupt
Processes
*
3
Use Previous Minute,
Hour, Day-of-week,
and Day-of-month Data
Write 鈥溍?1,脳,1,脳,0,1,1鈥?/div>
to Control Register 2
*
4
*
1) This step is intended to select the level mode as a waveform mode for the periodic interrupt function.
*
2) If this step is completed within 1 second, the step of waiting described in 鈥?.3-1 Ordinary Process of Reading Time and Calendar Data鈥?above need not be
conducted. This step is detailed in 鈥?.5 Considerations in Reading and Writing Time Data鈥?
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.
*
45
prev
next