Interrupt Control
Bit7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CMP | OVF | ||||||
Access | R/W | R/W | |||||
Reset | 0 | 0 |
Compare Match Interrupt Enable
Enable interrupt-on-compare match (that is, when the value from the Count (RTC.CNT) register matches the value from the Compare (RTC.CMP) register).
Value | Description |
---|---|
0 | The compare match interrupt is disabled |
1 | The compare match interrupt is enabled |
Overflow Interrupt Enable
Enable interrupt-on-counter overflow (that is, when the value from the Count (RTC.CNT) register matched the value from the Period (RTC.PER) register and wraps around to zero).
Value | Description |
---|---|
0 | The overflow interrupt is disabled |
1 | The overflow interrupt is enabled |