RX8111CE
Page
−
42
ETM61E-01
14.8.3. Time stamp function triggered by EVIN pin input
Following registers control time stamp function triggered by EVIN pin input.
1) ETS bit (Enable Time Stamp)
This register controls time stamp (triggered by EVIN pin input) ON/OFF. Also, user can use chattering prevention function. User
should be aware that chattering prevention results in the worse resolution. (refer to
ET1, ET0bit.)
Table 51 ETS bit (Enable Time Stamp)
ETS
Data
Description
Write / Read
0
Time Stamp function OFF
1
Time Stamp function ON
Refer to RTC internal status trigger time stamp function registers respectively.
2) EVF bit (Event Flag)
This register is be set to “1” when event occurs.
Table 52 EVF bit (Event Flag)
EVF
Data
Description
Write
0
In case /INT:
”L” output, it is set to Hi-Z.
1
Invalid (writing
“1” will be ignored)
Read
0
−
1
EVIN input is detected. The result remains until clearing to “0”.
3) EIE bit (Event Interrupt Enable)
This register control /INT interrupt output at the moment of the event
(EVF,
"0"
→
"1").
Table 53 EIE bit (Event Interrupt Enable)
EIE
Data
Description
Write
0
1 ) No /INT interrupt output (/INT = Hi-Z)
2 ) Releasing /INT interrupt output
(/INT =
"L"
→
Hi-Z)
1
/INT interrupt output
(/INT =
Hi-Z
→
"
L")
4) EHL bit (EVIN High/Low)
This register controls
EVIN input voltage level.
Longer EVIN input than chattering prevention cycle is detected.
Table 54 EHL bit (EVIN High/Low)
EHL
Data
Description
Write / Read
0
Triggered by Low level voltage
1
Triggered by High level voltage