RX8111CE
Page
−
56
ETM61E-01
10) Time stamp (Year to 1/128 sec reading) Example
Figure 47 Example flow (Time stamp (Year to 1/128 data reading) )
Start
・
ETS
0
・
To inactivate EVIN input event time stamp.
・
Time Stamp Control 2 bit3~0
0
・
To inactive RTC internal status detection time stamp
Read Reg - 2Fh
Read Reg - 20h
Reed Reg
– 21~28h
・
Reading 21h~28h data.
Write Reg – 2Eh bit0 0b
・
COMTG
1
・
To activate Command Trigger
・
Reading 2Fh makes time stamp triggering and
data (1/1024 sec) is stored to 20h.
・
Reading 1/1024 sec data from 20h
・
COMTG
0
・
To inactivate Command Trigger
Write Reg - 1Dh bit2 0b
Write Reg - 35h bit3~0 0000b
Write Reg
– 2Eh bit0 1b
Next processing