SIC63616-(Rev. 1.0) NO. P118
3240-0412
EIPT0, EICTC0: Timer 0 interrupt mask registers (FFE2H•D1, D0)
EIPT1, EICTC1: Timer 1 interrupt mask registers (FFE3H•D1, D0)
EIPT2, EICTC2: Timer 2 interrupt mask registers (FFE4H•D1, D0)
EIPT3, EICTC3: Timer 3 interrupt mask registers (FFE5H•D1, D0)
EIPT4, EICTC4: Timer 4 interrupt mask registers (FFE6H•D1, D0)
EIPT5, EICTC5: Timer 5 interrupt mask registers (FFE7H•D1, D0)
EIPT6, EICTC6: Timer 6 interrupt mask registers (FFE8H•D1, D0)
EIPT7, EICTC7: Timer 7 interrupt mask registers (FFE9H•D1, D0)
These registers are used to select whether to mask the programmable timer interrupt or not.
When "1" is written: Enabled
When "0" is written: Masked
Reading: Valid
EIPTx and EICTCx are the interrupt mask registers that respectively correspond to the counter underflow
and compare match interrupt factors. Interrupts set to "1" are enabled and interrupts set to "0" are disabled.
At initial reset, these registers are set to "0".
IPT0, ICTC0: Timer 0 interrupt factor flags (FFF2H•D1, D0)
IPT1, ICTC1: Timer 1 interrupt factor flags (FFF3H•D1, D0)
IPT2, ICTC2: Timer 2 interrupt factor flags (FFF4H•D1, D0)
IPT3, ICTC3: Timer 3 interrupt factor flags (FFF5H•D1, D0)
IPT4, ICTC4: Timer 4 interrupt factor flags (FFF6H•D1, D0)
IPT5, ICTC5: Timer 5 interrupt factor flags (FFF7H•D1, D0)
IPT6, ICTC6: Timer 6 interrupt factor flags (FFF8H•D1, D0)
IPT7, ICTC7: Timer 7 interrupt factor flags (FFF9H•D1, D0)
These flags indicate the status of the programmable timer interrupt.
When "1" is read:
Interrupt has occurred
When "0" is read:
Interrupt has not occurred
When "1" is written: Flag reset
When "0" is written: Invalid
IPTx and ICTCx are the interrupt factor flags that respectively correspond to the interrupts for counter
underflow and compare match, and are set to "1" by generation of each factor.
The underflow interrupt factor is generated at the point where the counter underflows.
The compare match interrupt factor is generated if the counter data and the compare data are matched
when the timer is set in the PWM mode.
The software can judge from these flags whether there is a programmable timer interrupt. However, even
if the interrupt is masked, the flags are set to "1" by an underflow and compare match of the corresponding
counter.
These flags are reset to "0" by writing "1" to them.
After an interrupt occurs, the same interrupt will occur again if the interrupt enabled state (I flag = "1") is
set or the RETI instruction is executed unless the interrupt factor flag is reset. Therefore, be sure to reset (write
"1" to) the interrupt factor flag in the interrupt service routine before shifting to the interrupt enabled state.
At initial reset, these flags are set to "0".