ATMEGA16U4-AU Atmel, ATMEGA16U4-AU Datasheet - Page 162

no-image

ATMEGA16U4-AU

Manufacturer Part Number
ATMEGA16U4-AU
Description
MCU AVR 16K FLASH USB 44TQFP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheet

Specifications of ATMEGA16U4-AU

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-TQFP, 44-VQFP
Processor Series
ATMEGA16x
Core
AVR8
Data Bus Width
8 bit
Data Ram Size
1.25 KB
Interface Type
SPI, TWI, USART
Maximum Clock Frequency
16 MHz
Number Of Programmable I/os
26
Number Of Timers
5
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
EWAVR, EWAVR-BL
Development Tools By Supplier
ATAVRDRAGON, ATSTK500, ATSTK600, ATAVRISP2, ATAVRONEKIT
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 12 Channel
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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA16U4-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA16U4-AUR
Manufacturer:
Atmel
Quantity:
10 000
15.12 Register Description
15.12.1
7766F–AVR–11/10
TCCR4A – Timer/Counter4 Control Register A
• Bits 7,6 - COM4A1, COM4A0: Comparator A Output Mode, Bits 1 and 0
These bits control the behavior of the Waveform Output (OCW4A) and the connection of the
Output Compare pin (OC4A). If one or both of the COM4A1:0 bits are set, the OC4A output
overrides the normal port functionality of the I/O pin it is connected to. The complementary
OC4B output is connected only in PWM modes when the COM4A1:0 bits are set to “01”. Note
that the Data Direction Register (DDR) bit corresponding to the OC4A and OC4A pins must be
set in order to enable the output driver.
The function of the COM4A1:0 bits depends on the PWM4A, WGM40 and WGM41 bit settings.
Table 15-6
(non-PWM).
Table 15-6.
Table 15-7
are set to fast PWM mode.
Table 15-7.
Bit
Read/Write
Initial value
COM4A1..0
COM4A1..0
00
01
10
11
00
01
10
11
shows the COM4A1:0 bit functionality when the PWM4A, WGM40 and WGM41 bits
shows the COM4A1:0 bit functionality when the PWM4A bit is set to Normal Mode
COM4A1
Compare Output Mode, Normal Mode (non-PWM)
Compare Output Mode, Fast PWM Mode
R/W
OCW4A Behavior
Normal port operation.
Toggle on Compare Match.
Clear on Compare Match.
Set on Compare Match.
OCW4A Behavior
Normal port operation.
Cleared on Compare Match.
Set when TCNT4 = 0x000.
Cleared on Compare Match.
Set when TCNT4 = 0x000.
Set on Compare Match.
Cleared when TCNT4 = 0x000.
7
0
COM4A0
R/W
6
0
COM4B1
R/W
5
0
COM4B0
R/W
4
0
FOC4A
W
3
0
FOC4B
W
2
0
ATmega16/32U4
Disconnected
Disconnected
Connected
Connected
Connected
Connected
Connected
Connected
OC4A Pin
OC4A
PWM4A
R/W
1
0
PWM4B
R/W
0
0
Disconnected
Disconnected
Disconnected
Disconnected
Disconnected
Disconnected
Disconnected
Connected
OC4A Pin
OC4A
TCCR4A
162

Related parts for ATMEGA16U4-AU