25 RF Converters (RFC)
S1C17602 TECHNICAL MANUAL
EPSON
25-9
RFC
25.5 R/F Converter Interrupts
The R/F converter provides function of generating the following 5 types of interrupts.
Reference oscillation complete interrupt
Sensor A oscillation complete interrupt
Sensor B oscillation complete interrupt
Measurement counter overflow interrupt
Time base counter overflow interrupt
The R/F converter outputs an interrupt signal shared by those 5 types of interrupt factors to the interrupt controller
(ITC). To determine the generated interrupt factor, read a relevant interrupt factor register.
Reference oscillation complete interrupt
To use this interrupt, set EREFIE (D0/RFC_IMSK register) to 1. If the EREFIE bit is set to 0 (default), the interrupt
request by this factor is not sent to ITC.
EREFIE: Reference Oscillation End Int Enable D0 in the RFC Interrupt Enable (RFC_IMSK) Register (D0/0x53ac)
When reference oscillation is completed without an error, that is, when the time base counter does not overflow
while the measurement counter overflows and stops, EREFIF (D0/RFC_FLG register) is set to 1.
EREFIF: Reference Oscillation End Int Flag D0 in the RFC Interrupt Flag (RFC_IFLG) Register (D0/0x53ae)
Sensor A oscillation complete inerrupt
To use this interrupt, set ESENAIE (D1/RFC_IMSK register) to 1. If the ESENAIE bit is set to 0 (default), the
interrupt request by this factor is not sent to ITC.
ESENAIE : Sensor A Oscillation End Int Enable D1 in the RFC Interrupt Enable (RFC_IMSK) Register (D1/
0x53ac)
When the sensor A oscillation is completed without an error, that is, when the measurement counter does not
overflow while the time base counter overflows and stops, ESENAIF (D1/RFC_IFLG register) is set to 1.
ESENAIF: Sensor A Oscillation End Int Flag D1 in the RFC Interrupt Flag (RFC_IFLG) Register (D1/0x53ae)
Sensor B oscillation complete inerrupt
To use this interrupt, set ESENBIE (D2/RFC_IMSK register) to 1. If the ESENBIE bit is set to 0 (default), the
interrupt request by this factor is not sent to ITC.
ESENBIE: Sensor B Oscillation End Int Enable D2 in the RFC Interrupt Enable (RFC_IMSK) Register (D2/
0x53ac)
When the sensor B oscillation is completed without an error, that is, when the measurement counter does not
overflow while the time base counter overflows and stops, ESENBIF (D2/RFC_IFLG register) is set to 1.
ESENBIF: Sensor B Oscillation End Int Flag D2 in the RFC Interrupt Flag (RFC_IFLG) Register (D2/0x53ae)
Measurement counter overflow interrupt
To use this interrupt, set OVMCIE (D3/RFC_IMSK register) to 1. If the OVMCIE bit is set to 0 (default), the
interrupt request by this factor is not sent to ITC.
OVMCIE: Measurement Counter Over Flow Error Interrupt Enable D3 in the RFC Interrupt Enable (RFC_IMSK)
Register (D3/0x53ac)
If the measurement counter overflows and stops during sensor oscillation, OVMCIF (D3/RFC_IFLG register) is set
to 1 as an error.
OVMCIF: Measurement Counter Over Flow Error Int Flag D3 in the RFC Interrupt Flag (RFC_IFLG) Register
(D3/0x53ae)