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

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
174
ATmega32U4
counter value matches the TOP value. The counter is then cleared at the following timer clock
cycle. The TCNT4 value is in the timing diagram shown as a histogram for illustrating the single-
slope operation. The timing diagram includes Output Compare pins OC4A and OC4A, and the
corresponding Output Compare Override Enable bits (OC4OE1..OC4OE0).
Figure 16-15. PWM6 Mode, Single-slope Operation, Timing Diagram
The general I/O port function is overridden by the Output Compare value (OC4x / OC4x) from
the Dead Time Generator if either of the COM4x1:0 bits are set. The Output Compare pins can
also be overridden by the Output Compare Override Enable bits OC4OE5..OC4OE0. If an Over-
ride Enable bit is cleared, the actual value from the port register will be visible on the port pin
and, if the Override Enable bit is set, the Output Compare pin is allowed to be connected on the
port pin. The Output Compare Pin configurations are described in
Table 16-5.
TCNT4
OCW4A
OC4A Pin
OC4A Pin
OC4B Pin
OC4B Pin
OC4OE0
OC4OE1
OC4OE2
OC4OE3
OC4OE4
OC4D Pin
OC4OE5
OC4D Pin
COM4A1
0
0
1
1
COM4B1
0
0
Output Compare Pin configurations in PWM6 Mode
COM4A0
0
1
0
1
COM4B0
0
1
OC4A Pin (PC6)
Disconnected
OC4A •
OC4A •
OC4A •
OC4B Pin (PB5)
Disconnected
OC4A •
OC4OE0
OC4OE0
OC4OE0
OC4OE2
Table
OC4A Pin (PC7)
Disconnected
OC4A •
OC4A •
OC4A •
OC4B Pin (PB6)
Disconnected
OC4A •
16-5.
OC4OE1
OC4OE1
OC4OE1
OC4OE3
7766A–AVR–03/08

Related parts for atmega32u4-16mu