Atmega32(l) – Rainbow Electronics ATmega32L User Manual
Page 121
Advertising
121
ATmega32(L)
2503C–AVR–10/02
Figure 60. Timer/Counter Timing Diagram, no Prescaling
Figure 61 shows the same timing data, but with the prescaler enabled.
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)
clk
Tn
(clk
I/O
/1)
TOVn
clk
I/O
TCNTn
MAX - 1
MAX
BOTTOM
BOTTOM + 1
TOVn
TCNTn
MAX - 1
MAX
BOTTOM
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)
Advertising