Epson RX-8564LC Applications Manual page 33

Real time clock module
Table of Contents

Advertisement

RX
8564 LC
3) Example of processing to recover from backup mode
Backup recovery
processing
VL = " 0 " ?
To next process
4) Example of clock and calendar write processing
Set current time
STOP
Write current time
STOP
To next process
5) Example of clock and calendar read processing
Read current time
Read current time
To next process
1
No ( VL = " 1 " )
Yes
( VL = " 0 " )
Write "1" to the STOP bit to prevent clock updates while setting the current
" 1 "
time.
Write the data (among the [Year/Month/Day [day of
week]:hour:minute:second] data) that needs to be set (or reset).
When initializing be sure to initialize all of the data.
Zero-clear the STOP bit to start (restart) the clock's operation.
" 0 "
The clock starts from the set [second] + 500 ms (500 ms after the set
second). (The first [second] update occurs 500 ms later.)
The required information (among the [Year/Month/Day [day of
week]:hour:minute:second] data) is read within one second.
There is no need to manipulate the STOP bit.
2
1) Check the VL bit (Voltage Low Flag).
2) When the VL bit = "1", it may be due to
3
Initialization
3) Be sure to initialize all registers. (For
Page
30
an error during backup (clock data or
register settings may have been lost,
due to a voltage drop, etc.), so be sure
to initialize.
further description of initialization, see
"Initialization" below.)
ETM12E-01

Advertisement

Table of Contents
loading

Table of Contents