22.8 Timer/Counter Timing Diagrams
The following figures show the Timer/Counter in Synchronous mode, and the timer clock (clkT2) is therefore shown as a clock enable signal. In Asynchronous mode, clkI/O should be replaced by the Timer/Counter Oscillator clock. The figures include information on when Interrupt Flags are set. The following figure contains timing data for basic Timer/Counter operation. The figure shows the count sequence close to the MAX value in all modes other than phase correct PWM mode.
The next figure shows the same timing data, but with the prescaler enabled.
The next figure shows the setting of OCF2 in all modes except CTC mode.
The figure below shows the setting of OCF2 and the clearing of TCNT2 in CTC mode.