Datasheet

ATmega48/88/168 Automotive [DATASHEET]
7530K–AVR–07/14
128
Figure 15-9 shows the same timing data, but with the prescaler enabled.
Figure 15-9. Timer/Counter Timing Diagram, with Prescaler (f
clk_I/O
/8)
Figure 15-10 shows the setting of OCF2A in all modes except CTC mode.
Figure 15-10. Timer/Counter Timing Diagram, Setting of OCF2A, with Prescaler (f
clk_I/O
/8)
Figure 15-11 shows the setting of OCF2A and the clearing of TCNT2 in CTC mode.
Figure 15-11. Timer/Counter Timing Diagram, Clear Timer on Compare Match mode, with Prescaler (f
clk_I/O
/8)
MAX - 1
clk
I/O
(clk
I/O
/8)
TCNTn
TOVn
clk
Tn
MAX BOTTOM BOTTOM + 1
OCRnx - 1
clk
I/O
(clk
I/O
/8)
TCNTn
OCRnx
OCFnx
clk
Tn
OCRnx OCRnx + 1
OCRnx Value
OCRnx + 2
TOP - 1
clk
I/O
(clk
I/O
/8)
TCNTn
(CTC)
OCRnx
OCFnx
clk
Tn
TOP BOTTOM
TOP
BOTTOM + 1