English
Language : 

ATMEGA8_08 Datasheet, PDF (99/308 Pages) ATMEL Corporation – 8-bit with 8K Bytes In-System Programmable Flash
ATmega8(L)
Table 39. Waveform Generation Mode Bit Description
WGM12 WGM11 WGM10 Timer/Counter Mode of
Mode WGM13 (CTC1) (PWM11) (PWM10) Operation(1)
TOP
Update of TOV1 Flag
OCR1x
Set on
7
0
1
1
1
Fast PWM, 10-bit
0x03FF BOTTOM TOP
8
1
0
0
0
PWM, Phase and Frequency Correct ICR1
BOTTOM BOTTOM
9
1
0
0
1
PWM, Phase and Frequency Correct OCR1A BOTTOM BOTTOM
10
1
0
1
0
PWM, Phase Correct
ICR1
TOP
BOTTOM
11
1
0
1
1
PWM, Phase Correct
OCR1A TOP
BOTTOM
12
1
1
0
0
CTC
ICR1
Immediate MAX
13
1
1
0
1
(Reserved)
–
–
–
14
1
1
1
0
Fast PWM
ICR1
BOTTOM TOP
15
Note:
1
1
1
1
Fast PWM
OCR1A BOTTOM TOP
1. The CTC1 and PWM11:0 bit definition names are obsolete. Use the WGM12:0 definitions. However, the functionality and
location of these bits are compatible with previous versions of the timer.
99
2486T–AVR–05/08