23.12.3 Interrupt Control
Name: | INTCTRL |
Offset: | 0x02 |
Reset: | 0x00 |
Property: | - |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
CMP | OVF | ||||||||
Access | R/W | R/W | |||||||
Reset | 0 | 0 |
Bit 1 – CMP 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 |
Bit 0 – OVF 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 |