EasyManua.ls Logo

Epson S1C17624 - 25.8 Control Register Details

Epson S1C17624
368 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
25 R/F CONVERTER (RFC)
25-8
Seiko Epson Corporation
S1C17624/604/622/602/621 TECHNICAL MANUAL
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 os
cillation 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 pr
ocessing, 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.
Control Register Details 25.8
8.1 List of RFC RegistersTable 25.
Address Register name Function
0x5067 OSC_RFC RFC Clock Control Register Selects the operating clock.
0x53a0 RFC_CTL RFC Control Register Controls R/F converter.
0x53a2 RFC_TRG RFC Oscillation Trigger Register Controls oscillations.
0x53a4 RFC_MCL RFC Measurement Counter Low Register Measurement counter data
0x53a6 RFC_MCH RFC Measurement Counter High Register
0x53a8 RFC_TCL RFC Time Base Counter Low Register Time base co
unter data
0x53aa RFC_TCH RFC Time Base Counter High Register
0x53ac RFC_IMSK RFC Interrupt Mask Register Enables/disables interrupts.
0x53ae RFC_IFLG RFC Interrupt Flag Register Indicates/resets interrupt occurrence status.

Table of Contents