ATmega325PA Atmel Corporation, ATmega325PA Datasheet - Page 155

no-image

ATmega325PA

Manufacturer Part Number
ATmega325PA
Description
Manufacturer
Atmel Corporation
Datasheets

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATmega325PA-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega325PA-AUR
Manufacturer:
Atmel
Quantity:
10 000
8285D–AVR–06/11
ATmega165A/PA/325A/PA/3250A/PA/645A/P/6450A/P
Table 18-3.
Table 18-4
PWM mode.
Table 18-4.
Note:
Table 18-5
correct PWM mode.
Table 18-5.
Note:
COM2A1
COM2A1
COM2A1
0
0
1
1
0
0
1
1
0
0
1
1
1. A special case occurs when OCR2A equals TOP and COM2A1 is set. In this case, the com-
1. A special case occurs when OCR2A equals TOP and COM2A1 is set. In this case, the com-
pare match is ignored, but the set or clear is done at TOP. See
for more details.
pare match is ignored, but the set or clear is done at TOP. See
page 147
shows the COM2A[1:0] bit functionality when the WGM2[1:0] bits are set to phase
shows the COM2A[1:0] bit functionality when the WGM2[1:0] bits are set to fast
Compare Output Mode, non-PWM Mode
Compare Output Mode, Fast PWM Mode
Compare Output Mode, Phase Correct PWM Mode
COM2A0
COM2A0
COM2A0
for more details.
0
1
0
1
0
1
0
1
0
1
0
1
Description
Normal port operation, OC2A disconnected.
Reserved
Clear OC2A on compare match, set OC2A at BOTTOM
(non-inverting mode).
Set OC2A on compare match, clear OC2A at BOTTOM
(inverting mode).
Description
Normal port operation, OC2A disconnected.
Reserved
Clear OC2A on compare match when up-counting. Set OC2A on
compare match when down counting.
Set OC2A on compare match when up-counting. Clear OC2A on
compare match when down counting.
Description
Normal port operation, OC2A disconnected.
Toggle OC2A on compare match.
Clear OC2A on compare match.
Set OC2A on compare match.
(1)
(1)
”Fast PWM Mode” on page 146
”Phase Correct PWM Mode” on
155

Related parts for ATmega325PA