ATmega16U4 Atmel Corporation, ATmega16U4 Datasheet - Page 164
ATmega16U4
Manufacturer Part Number
ATmega16U4
Description
Manufacturer
Atmel Corporation
Specifications of ATmega16U4
Flash (kbytes)
16 Kbytes
Pin Count
44
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
14
Hardware Qtouch Acquisition
No
Max I/o Pins
26
Ext Interrupts
13
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
2
Twi (i2c)
1
Uart
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
12
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
2.1
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
4
Output Compare Channels
12
Input Capture Channels
2
Pwm Channels
8
32khz Rtc
No
Calibrated Rc Oscillator
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
- Current page: 164 of 433
- Download datasheet (9Mb)
7766F–AVR–11/10
that the Data Direction Register (DDR) bit corresponding to the OC4B pin must be set in order to
enable the output driver.
The function of the COM4B1:0 bits depends on the PWM4B and WGM40 bit settings.
11
PWM).
Table 15-11. Compare Output Mode, Normal Mode (non-PWM)
Table 15-12
Fast PWM Mode.
Table 15-12. Compare Output Mode, Fast PWM Mode
Table 15-13
Phase and Frequency Correct PWM Mode.
Table 15-13. Compare Output Mode, Phase and Frequency Correct PWM Mode
• Bit 3 - FOC4A: Force Output Compare Match 4A
The FOC4A bit is only active when the PWM4A bit specify a non-PWM mode.
Writing a logical one to this bit forces a change in the Waveform Output (OCW4A) and the Out-
put Compare pin (OC4A) according to the values already set in COM4A1 and COM4A0. If
COM4A1 and COM4A0 written in the same cycle as FOC4A, the new settings will be used. The
Force Output Compare bit can be used to change the output pin value regardless of the timer
COM4B1..0
COM4B1..0
COM4B1..0
shows the COM4B1:0 bit functionality when the PWM4B bit is set to Normal Mode (non-
00
01
10
11
00
01
10
11
00
01
10
11
shows the COM4B1:0 bit functionality when the PWM4B and WGM40 bits are set to
shows the COM4B1:0 bit functionality when the PWM4B and WGM40 bits are set to
OCW4B Behavior
Normal port operation.
Toggle on Compare Match.
Clear on Compare Match.
Set on Compare Match.
OCW4B 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.
OCW4B Behavior
Normal port operation.
Cleared on Compare Match when up-counting.
Set on Compare Match when down-counting.
Cleared on Compare Match when up-counting.
Set on Compare Match when down-counting.
Set on Compare Match when up-counting.
Cleared on Compare Match when down-counting.
ATmega16/32U4
Disconnected
Disconnected
Disconnected
Connected
Connected
Connected
Connected
Connected
Connected
Connected
Connected
Connected
OC4B Pin
OC4B Pin
OC4B Pin
Disconnected
Disconnected
Disconnected
Disconnected
Disconnected
Disconnected
Disconnected
Disconnected
Disconnected
Disconnected
Connected
Connected
OC4B Pin
OC4B Pin
OC4B Pin
Table 15-
164
Related parts for ATmega16U4
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
U6046BREAR WINDOW HEATING TIMER / LONG-TERM TIMER
Manufacturer:
ATMEL Corporation
Datasheet: