RX8111CE
Page
−
54
ETM61E-01
8) Time stamp (one time recording) Example
Waiting for next event
Reg
−
1E[h]
•
Clears EVF bit to
“0”.
/INT=
”L”?
or
Reg-1E[h] EVF=
”1”?
•
When event occurs EVF bit is set to
”1”, /INT pin becomes low as interrupt
output.
Reg-20[h]-28[h]
•
Reading time stamp data of event occur.
Start
•
Set EIE bit to
“1” to activate time stamp interrupt function.
An event makes /INT pin interruption output.
•
Set ETS bit to
“1” to activate time stamp function.
Reg-1F[h]
Reg
−
1D[h]
Waiting event
YES
NO
Reg-2B[h]
•
Setup EVIN pin input pull-up/pull-down resistor combination.
Reg- 1D[h]
•
Clear ETS bit by
“0” to inactivate time stamp function.
Reg- 1E[h]
•
Clear EVF bit by
“0”.
Reg
−
1D[h]
•
Reset ETS bit to
”0” to inactivate time stamp function.
The reason is to avoid unwanted time stamp during data reading.
Figure 45 Example flow (Time stamp (one time recording) )