Datasheet
149
ATmega162/V
2513G–AVR–03/05
match (CTC) mode, and two types of Pulse Width Modulation (PWM) modes. See Table
60 and “Modes of Operation” on page 142.
Note: 1. The CTC2 and PWM2 bit definition names are now obsolete. Use the WGM21:0 def-
initions. However, the functionality and location of these bits are compatible with
previous versions of the timer.
Table 60. Waveform Generation Mode Bit Description
(1)
Mode
WGM21
(CTC2)
WGM20
(PWM2)
Timer/Counter Mode
of Operation TOP
Update of
OCR2 at
TOV2 Flag
Set on
0 0 0 Normal 0xFF Immediate MAX
1 0 1 PWM, Phase Correct 0xFF TOP BOTTOM
2 1 0 CTC OCR2 Immediate MAX
3 1 1 Fast PWM 0xFF TOP MAX