Datasheet
147
ATmega162/V
2513G–AVR–03/05
Figure 66. Timer/Counter Timing Diagram, no Prescaling
Figure 67 shows the same timing data, but with the prescaler enabled.
Figure 67. Timer/Counter Timing Diagram, with Prescaler (f
clk_I/O
/8)
Figure 68 shows the setting of OCF2 in all modes except CTC mode.
Figure 68. Timer/Counter Timing Diagram, Setting of OCF2, with Prescaler (f
clk_I/O
/8)
Figure 69 shows the setting of OCF2 and the clearing of TCNT2 in CTC mode.
clk
Tn
(clk
I/O
/1)
TOVn
clk
I/O
T
CNTn
MAX - 1 MAX BOTTOM BOTTOM + 1
TOVn
T
CNTn
MAX - 1 MAX BOTTOM BOTTOM + 1
clk
I/O
clk
Tn
(clk
I/O
/8)
OCFn
OCRn
T
CNTn
OCRn Value
OCRn - 1 OCRn OCRn + 1 OCRn + 2
clk
I/O
clk
Tn
(clk
I/O
/8)