RX8804CE
Page - 19
ETM59E-05
8.4. EVIN Interrupt and Time Stamp Function
At the EVIN input timing, the time data, VDET and VLF date are stored to registers.
An application ex. User can obtain the timing information ex. System error timing and analyses.
8.4.1. Time Stamp Program ex.
Figure 10 Time Stamp Program ex.
STEP1
operation
EVIN setting after disabling EVIN interrupt
Command Example
WriteRX8804(17h,23h)
Target Address
17h
ECP
EHL
EPU
RCE
EIE
0
ET1
ET0
Write Data
23h
0
0
1
0
0
0
1
1
STEP2
operation
Disabling other interrupts
Command Example
WriteRX8804(0Fh,40h)
Target Address
0Fh
CSEL1
CSEL0
UIE
TIE
AIE
0
0
Reset
Write Data
40h
0
1
0
0
0
0
0
STEP3
operation
Clearing EF bit
Command Example
WriteRX8804(18h,00h)
Target Address
18h
EF
0
0
0
EVMON
0
0
0
Write Data
00h
0
0
0
0
0
0
0
0
STEP4
operation
Enabling EVIN interrupt
Command Example
WriteRX8804(17h,A8h)
Target Address
17h
ECP
EHL
EPU
RCE
EIE
0
ET1
ET0
Write Data
A8h
1
0
1
0
1
0
0
0
STEP5
Time data, VLF, VDET data is stored to registers when longer than 60 us signal is inputted to EVIN
STEP6
INIT returns to Hi-Z when either EF or EIE is cleared to 0
EVIN
EF
/INT
EIE
125 ms
Longer than 60
µ
s
Step 1 2 3 4 5 6
Detection of Low level of EVIN pin makes /INT output Low.