Datasheet

158
ATmega640/1280/1281/2560/2561
2549K–AVR–01/07
BOTTOM+1 and so on. The same renaming applies for modes that set the TOVn Flag
at BOTTOM.
Figure 59. Timer/Counter Timing Diagram, no Prescaling
Figure 60 shows the same timing data, but with the prescaler enabled.
TOVn (FPWM)
and ICFn (if used
as TOP)
OCRnx
(Update at TOP)
TCNTn
(CTC and FPWM)
TCNTn
(PC and PFC PWM)
TOP - 1 TOP TOP - 1 TOP - 2
Old OCRnx Value
New OCRnx Value
TOP - 1 TOP BOTTOM BOTTOM + 1
clk
Tn
(clk
I/O
/1)
clk
I/O