Epson S1C17624 Technical Manual page 282

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

25 R/F COnVeRTeR (RFC)
Reference oscillation completion interrupt
To use this interrupt, set EREFIE/RFC_IMSK register to 1. If EREFIE is set to 0 (default), interrupt requests
for this cause will not be sent to the ITC.
When the measurement counter overflows and a reference oscillation is completed normally, the R/F converter
sets EREFIF/RFC_IFLG register to 1. If reference oscillation completion interrupts are enabled (EREFIE = 1),
an interrupt request is sent simultaneously to the ITC.
Sensor a oscillation completion interrupt
To use this interrupt, set ESENAIE/RFC_IMSK register to 1. If ESENAIE is set to 0 (default), interrupt re-
quests for this cause will not be sent to the ITC.
When the time base counter reaches 0x0 and a sensor A oscillation is completed normally, the R/F converter
sets ESENAIF/RFC_IFLG register to 1. If sensor A oscillation completion interrupts are enabled (ESENAIE =
1), an interrupt request is sent simultaneously to the ITC.
Sensor B oscillation completion interrupt
To use this interrupt, set ESENBIE/RFC_IMSK register to 1. If ESENBIE is set to 0 (default), interrupt re-
quests for this cause will not be sent to the ITC.
When the time base counter reaches 0x0 and a sensor B oscillation is completed normally, the R/F converter
sets ESENBIF/RFC_IFLG register to 1. If sensor B oscillation completion interrupts are enabled (ESENBIE =
1), an interrupt request is sent simultaneously to the ITC.
Measurement counter overflow error interrupt
To use this interrupt, set OVMCIE/RFC_IMSK register to 1. If OVMCIE is set to 0 (default), interrupt requests
for this cause will not be sent to the ITC.
When the measurement counter overflows and a sensor oscillation is terminated abnormally, the R/F converter
sets OVMCIF/RFC_IFLG register to 1. If measurement counter overflow error interrupts are enabled (OVMCIE
= 1), an interrupt request is sent simultaneously to the ITC.
Time base counter overflow error interrupt
To use this interrupt, set OVTCIE/RFC_IMSK register to 1. If OVTCIE is set to 0 (default), interrupt requests
for this cause will not be sent to the ITC.
When the time base counter overflows and a reference oscillation is terminated abnormally, the R/F converter
sets OVTCIF/RFC_IFLG register to 1. If time base counter overflow error interrupts are enabled (OVTCIE = 1),
an interrupt request is sent simultaneously to the ITC.
For more information on interrupt processing, see the "Interrupt Controller (ITC)" chapter.
notes: • To prevent interrupt recurrences, the interrupt flag must be reset in the interrupt handler rou-
tine after an RFC interrupt has occurred. The interrupt flag is reset by writing 1.
• To prevent unwanted interrupts, reset the interrupt flags before enabling interrupts with the in-
terrupt enable bits.
25.8
Control Register Details
address
0x5067
OSC_RFC
0x53a0
RFC_CTL
0x53a2
RFC_TRG
0x53a4
RFC_MCL
0x53a6
RFC_MCH
0x53a8
RFC_TCL
0x53aa
RFC_TCH
0x53ac
RFC_IMSK
0x53ae
RFC_IFLG
25-8
Table 25.
8.1 List of RFC Registers
Register name
RFC Clock Control Register
RFC Control Register
RFC Oscillation Trigger Register
RFC Measurement Counter Low Register
RFC Measurement Counter High Register
RFC Time Base Counter Low Register
RFC Time Base Counter High Register
RFC Interrupt Mask Register
RFC Interrupt Flag Register
Seiko epson Corporation
Function
Selects the operating clock.
Controls R/F converter.
Controls oscillations.
Measurement counter data
Time base counter data
Enables/disables interrupts.
Indicates/resets interrupt occurrence status.
S1C17624/604/622/602/621 TeChniCal Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c17604S1c17622S1c17602S1c17621

Table of Contents