Interrupt Flag Register - Normal Mode
Bit7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CMP2 | CMP1 | CMP0 | OVF | ||||
Access | R/W | R/W | R/W | R/W | |||
Reset | 0 | 0 | 0 | 0 |
Compare Channel 2 Interrupt Flag
See CMP0 flag description.
Compare Channel 1 Interrupt Flag
See CMP0 flag description.
Compare Channel 0 Interrupt Flag
The compare interrupt flag (CMPn) is set on a compare match on the corresponding compare channel.
For all modes of operation, the CMPn flag will be set when a compare match occurs between the count register (CNT) and the corresponding compare register (CMPn). The CMPn flag will not be cleared automatically and has to be cleared by software. This is done by writing a one to its bit location.
Overflow/Underflow Interrupt Flag
This flag is set either on a TOP (overflow) or BOTTOM (underflow) condition, depending on the WGMODE setting. OVF is not automatically cleared and needs to be cleared by software. This is done by writing a one to its bit location.