Datasheet
Note: 1. A special case occurs when OCR2 equals TOP and COM21 is set. In this case, the Compare
Match is ignored, but the set or clear is done at TOP. See Phase Correct PWM Mode for more details.
Bit 3 – WGM21 Waveform Generation Mode [n=0:1]
Refer to WGM20.
Bits 2:0 – CS2n[2:0] Clock Select [n = 2:0]
The three Clock Select bits select the clock source to be used by the Timer/Counter.
Table 22-6. Clock Select Bit Description
CS22 CS21 CS20 Description
0 0 0 No clock source (Timer/Counter stopped).
0 0 1 clk
I/O
/1 (No prescaling)
0 1 0 clk
I/O
/8 (From prescaler)
0 1 1 clk
I/O
/32 (From prescaler)
1 0 0 clkI/O/64 (From prescaler)
1 0 1 clk
I/O
/128 (From prescaler)
1 1 0 clk
I/O
/256 (From prescaler)
1 1 1 clk
I/O
/1024 (From prescaler)
AVR 8-Bit Microcontroller
8-bit Timer/Counter2 with PWM and Asynchronous Ope...
© 2017 Microchip Technology Inc.
Datasheet Complete
40001974A-page 166