atmega32u4-16mu ATMEL Corporation, atmega32u4-16mu Datasheet - Page 166

no-image

atmega32u4-16mu

Manufacturer Part Number
atmega32u4-16mu
Description
Atmega32u4 8-bit Avr Microcontroller With 32k Bytes Of Isp Flash And Usb Controller
Manufacturer
ATMEL Corporation
Datasheet
16.6.1
166
ATmega32U4
Compare Output Mode and Waveform Generation
Figure 16-9. Compare Match Output Unit, Schematic
The Waveform Generator uses the COM4x1:0 bits differently in Normal mode and PWM modes.
For all modes, setting the COM4x1:0 = 0 tells the Waveform Generator that no action on the
OCW4x Output is to be performed on the next Compare Match. For compare output actions in
the non-PWM modes refer to
on page
A change of the COM4x1:0 bits state will have effect at the first Compare Match after the bits are
written. For non-PWM modes, the action can be forced to have immediate effect by using the
FOC4x strobe bits.
clk I/O
181, and for the Phase and Frequency Correct PWM refer to
PORTC6
DDRC6
PORTC7
DDRC7
PORTB5
DDRB5
PORTB6
DDRB6
PORTD6
DDRD6
PORTD7
DDRD7
D Q
D Q
D Q
D Q
D Q
D Q
D Q
D Q
D Q
D Q
D Q
D Q
OCW4A
clk Tn
OCW4B
clk Tn
OCW4D
clk Tn
Table 16-6 on page
Generator A
Generator B
Generator D
Dead Time
Dead Time
Dead Time
OC4OE1:0
COM4A1:0
WGM41
OC4OE3:2
COM4B1:0
OC4OE5:4
COM4D1:0
WGM41
WGM41
Q
Q
Q
Q
Q
Q
OC4B
OC4B
OC4A
OC4A
OC4
OC4D
181. For fast PWM mode, refer to
0
1
Output Compare
Pin Configuration
2
1
0
2
1
0
Output Compare
Pin Configuration
Output Compare
Pin Configuration
1
0
1
0
Table 16-8 on page
1
0
1
0
1
0
1
0
1
0
1
0
7766A–AVR–03/08
Table 16-7
OC4A
OC4A
OC4B
OC4B
OC4D
OC4D
PIN
PIN
PIN
PIN
PIN
PIN
182.

Related parts for atmega32u4-16mu