127
ATmega8535(L)
2502K–AVR–10/06
Figure 61.
Timer/Counter Timing Diagram, with Prescaler (f
clk_I/O
/8)
Figure 62 shows the setting of OCF2 in all modes except CTC mode.
Figure 62.
Timer/Counter Timing Diagram, Setting of OCF2, with Prescaler (f
clk_I/O
/8)
Figure 63 shows the setting of OCF2 and the clearing of TCNT2 in CTC mode.
TOVn
TCNTn
MAX - 1
MAX
BOTTOM
1
clk
I/O
clk
Tn
(clk
I/O
/8)
OCFn
OCRn
TCNTn
OCRn Value
OCRn - 1
OCRn
OCRn + 1
OCRn + 2
clk
I/O
clk
Tn
(clk
I/O
/8)
Summary of Contents for ATmega8535
Page 314: ...314 ATmega8535 L 2502K AVR 10 06 ...
Page 320: ...vi ATmega8535 L 2502K AVR 10 06 ...