ATMEGA16U4-MU Atmel, ATMEGA16U4-MU Datasheet - Page 167

no-image

ATMEGA16U4-MU

Manufacturer Part Number
ATMEGA16U4-MU
Description
MCU AVR 16K FLASH 16MHZ 44-QFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheet

Specifications of ATMEGA16U4-MU

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
I²C, SPI, UART/USART, USB
Peripherals
Brown-out Detect/Reset, POR, PWM, Temp Sensor, WDT
Number Of I /o
26
Program Memory Size
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
1.25K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
44-VQFN
For Use With
ATSTK600 - DEV KIT FOR AVR/AVR32ATAVRDRAGON - KIT DRAGON 32KB FLASH MEM AVRATSTK500 - PROGRAMMER AVR STARTER KIT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
ATMEGA16U4-16MU
ATMEGA16U4-16MU
7766F–AVR–11/10
• Bits 5,4 - COM4B1S, COM4B0S: Comparator B Output Mode, Bits 1 and 0
These bits are the shadow bits of the COM4A1 and COM4A0 bits that are described in the sec-
tion
• Bits 3,2 - COM4D1, COM4D0: Comparator D Output Mode, Bits 1 and 0
These bits control the behavior of the Waveform Output (OCW4D) and the connection of the
Output Compare pin (OC4D). If one or both of the COM4D1:0 bits are set, the OC4D output
overrides the normal port functionality of the I/O pin it is connected to. The complementary
OC4D output is connected only in PWM modes when the COM4D1:0 bits are set to “01”. Note
that the Data Direction Register (DDR) bit corresponding to the OC4D pin must be set in order to
enable the output driver.
The function of the COM4D1:0 bits depends on the PWM4D and WGM40 bit settings.
16
PWM).
Table 15-16. Compare Output Mode, Normal Mode (non-PWM)
Table 15-17
to Fast PWM Mode.
Table 15-17. Compare Output Mode, Fast PWM Mode
Table 15-18 on page 168
bits are set to Phase and Frequency Correct PWM Mode.
COM4D1..0
COM4D1..0
shows the COM4D1:0 bit functionality when the PWM4D bit is set to a Normal Mode (non-
“TCCR4A – Timer/Counter4 Control Register A” on page
00
01
10
11
00
01
10
11
shows the COM4D1:0 bit functionality when the PWM4D and WGM40 bits are set
OCW4D Behavior
Normal port operation.
Toggle on Compare Match.
Clear on Compare Match.
Set on Compare Match.
OCW4D Behavior
Normal port operation.
Cleared on Compare Match.
Set when TCNT4 = 0x000.
Cleared on Compare Match.
Set when TCNT4 = 0x000.
Set on Compare Match.
Clear when TCNT4 = 0x000.
shows the COM4D1:0 bit functionality when the PWM4D and WGM40
162.
ATmega16/32U4
Disconnected
Disconnected
Connected
Connected
Connected
Connected
Connected
Connected
OC4D Pin
OC4D Pin
Disconnected
Disconnected
Disconnected
Disconnected
Disconnected
Disconnected
Disconnected
Connected
OC4D Pin
OC4D Pin
Table 15-
167

Related parts for ATMEGA16U4-MU