ATMEGA8-16AI SL383 Atmel, ATMEGA8-16AI SL383 Datasheet - Page 118

no-image

ATMEGA8-16AI SL383

Manufacturer Part Number
ATMEGA8-16AI SL383
Description
Semiconductors and Actives, Microprocessors, Microcontrollers
Manufacturer
Atmel
Datasheet
118
ATmega8(L)
Table 43. Compare Output Mode, Non-PWM Mode
Table 44
mode.
Table 44. Compare Output Mode, Fast PWM Mode
Note:
Table 45
PWM mode.
Table 45. Compare Output Mode, Phase Correct PWM Mode
Note:
COM21
COM21
COM21
0
0
1
1
0
0
1
1
0
0
1
1
1. A special case occurs when OCR2 equals TOP and COM21 is set. In this case, the Compare
1. A special case occurs when OCR2 equals TOP and COM21 is set. In this case, the Compare
shows the COM21:0 bit functionality when the WGM21:0 bits are set to phase correct
shows the COM21:0 bit functionality when the WGM21:0 bits are set to fast PWM
COM20
Match is ignored, but the set or clear is done at BOTTOM. See
for more details.
Match is ignored, but the set or clear is done at TOP. See
113
0
1
0
1
for more details.
COM20
COM20
0
1
0
1
0
1
0
1
Description
Normal port operation, OC2 disconnected.
Reserved
Clear OC2 on Compare Match when up-counting. Set OC2 on Compare
Match when downcounting.
Set OC2 on Compare Match when up-counting. Clear OC2 on Compare
Match when downcounting.
Description
Normal port operation, OC2 disconnected.
Reserved
Clear OC2 on Compare Match, set OC2 at BOTTOM,
(non-inverting mode)
Set OC2 on Compare Match, clear OC2 at BOTTOM,
(inverting mode)
Description
Normal port operation, OC2 disconnected.
Toggle OC2 on Compare Match
Clear OC2 on Compare Match
Set OC2 on Compare Match
(1)
(1)
“Phase Correct PWM Mode” on page
“Fast PWM Mode” on page 112
2486W–AVR–02/10

Related parts for ATMEGA8-16AI SL383