Datasheet

157
ATmega16U4/32U4 [DATASHEET]
Atmel-7766J-USB-ATmega16U4/32U4-Datasheet_04/2016
Figure 15-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 Override 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 the table.
Table 15-4. Output Compare Pin configurations in PWM6 Mode
COM4A1 COM4A0 OC4A Pin (PC6) OC4A Pin (PC7)
0 0 Disconnected Disconnected
0 1 OC4A • OC4OE0 OC4A • OC4OE1
1 0 OC4A • OC4OE0 OC4A • OC4OE1
1 1 OC4A • OC4OE0 OC4A • OC4OE1
COM4B1 COM4B0 OC4B Pin (PB5) OC4B Pin (PB6)
0 0 Disconnected Disconnected
0 1 OC4A • OC4OE2 OC4A • OC4OE3
1 0 OC4A • OC4OE2 OC4A • OC4OE3
1 1 OC4A • OC4OE2 OC4A • OC4OE3
COM4D1 COM4D0 OC4D Pin (PD6) OC4D Pin (PD7)
TCNT4
OC4A Pin
OC4A Pin
OC4B Pin
OC4B Pin
OC4D Pin
OC4D Pin
OC4OE0
OC4OE1
OC4OE2
OC4OE3
OC4OE4
OC4OE5
OCW4A