Datasheet

ATmega164A/PA/324A/PA/644A/PA/1284/P
2018 Microchip Technology Inc. Data Sheet Complete DS40002070A-page 145
Bit 0 – TOV3: Timer/Counter1, Overflow Flag
The setting of this flag is dependent of the WGMn3:0 bits setting. In Normal and CTC modes, the TOV3 Flag is
set when the timer overflows. Refer to Table 16-5 on page 138 for the TOV3 Flag behavior when using another
WGMn3:0 bit setting.
TOV3 is automatically cleared when the Timer/Counter3 Overflow Interrupt Vector is executed. Alternatively,
TOV3 can be cleared by writing a logic one to its bit location.