atmega32u4-16mu ATMEL Corporation, atmega32u4-16mu Datasheet - Page 158
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
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
1.ATMEGA32U4-16MU.pdf
(431 pages)
- Current page: 158 of 431
- Download datasheet (6Mb)
16.2.1
16.2.2
158
ATmega32U4
Speed
Accuracy
Figure 16-1. Timer/Counter4 Block Diagram
The maximum speed of the Timer/Counter4 is 64 MHz. However, if a supply voltage below 4
volts is used, it is recommended to decrease the input frequency, because the Timer/Counter4
is not running fast enough on low voltage levels.
The Timer/Counter4 is a 10-bit Timer/Counter module that can alternatively be used as an 8-bit
Timer/Counter. The Timer/Counter4 registers are basically 8-bit registers, but on top of that
there is a 2-bit High Byte Register (TC4H) that can be used as a common temporary buffer to
access the two MSBs of the 10-bit Timer/Counter4 registers by the AVR CPU via the 8-bit data
bus, if the 10-bit accuracy is used. Whereas, if the two MSBs of the 10-bit registers are written to
zero the Timer/Counter4 is working as an 8-bit Timer/Counter. When reading the low byte of any
8-bit register the two MSBs are written to the TC4H register, and when writing the low byte of
any 8-bit register the two MSBs are written from the TC4H register. Special procedures must be
followed when accessing the 10-bit Timer/Counter4 values via the 8-bit data bus. These proce-
dures are described in the section
The Enhanced PWM mode allows to add a resolution bit to each Compare register A/B/D, while
the output frequency remains identical to a Normal PWM mode. That means that the TC4H reg-
ister contains one more bit that will be the MSB in a 11-bits enhanced PWM operation. See the
section
use it.
REGISTER (TIMSK4)
TOV4
T/C INT. MASK
TIMER/COUNTER4
(TCNT4)
8-BIT OUTPUT COMPARE
COMPARE REGISTER A
REGISTER A (OCR4A)
10-BIT COMPARATOR
“Enhanced Compare/PWM mode” on page 167
10-BIT OUTPUT
OCF4A
OCF4B
T/C INT. FLAG
REGISTER (TIFR4)
CLK
COUNT
CLEAR
DIRECTION
OCF4D
8-BIT OUTPUT COMPARE
REGISTER B (OCR4B)
COMPARE REGISTER B
10-BIT COMPARATOR
10-BIT OUTPUT
DEAD TIME GENERATOR
OC4A
REGISTER A (TCCR4A)
“Accessing 10-Bit Registers” on page
T/C CONTROL
8-BIT DATABUS
OC4A
8-BIT OUTPUT COMPARE
REGISTER C (OCR4C)
COMPARE REGISTER C
10-BIT COMPARATOR
10-BIT OUTPUT
DEAD TIME GENERATOR
T/C CONTROL
OC4B
REGISTER B (TCCR4B)
TIMER/COUNTER4 CONTROL LOGIC
for details about this feature and how to
OC4B
8-BIT OUTPUT COMPARE
COMPARE REGISTER D
REGISTER D (OCR4D)
10-BIT OUTPUT
10-BIT COMPARATOR
T/C CONTROL
REGISTER C (TCCR4C)
DEAD TIME GENERATOR
OC4D
178.
OC4D
2-BIT HIGH BYTE
REGISTER (TC4H)
T/C CONTROL
T/C CONTROL
REGISTER C (TCCR4D)
REGISTER D (TCCR4E)
7766A–AVR–03/08
FAULT_PROTECTION
Related parts for atmega32u4-16mu
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ATmega32](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![ATMEGA32-8AU](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
ATMEL Corporation
Datasheet:
![ATMEGA128RFA1-ZU](/photos/12/13/121326/313-64-qfn_tmb.jpg)
Part Number:
Description:
IC AVR MCU 2.4GHZ XCEIVER 64QFN
Manufacturer:
Atmel
Datasheet:
![ATMEGA328P-20PU](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel
Datasheet:
![ATMEGA64RZAV-10PU](/photos/14/18/141872/atmega64rzav-10pu_tmb.jpg)
Part Number:
Description:
MCU ATMEGA644/AT86RF230 40-DIP
Manufacturer:
Atmel
Datasheet:
![ATMEGA64RZAPV-10MU](/photos/12/13/121326/313-64-qfn_tmb.jpg)
Part Number:
Description:
BUNDLE ATMEGA644P/AT86RF230 QFN
Manufacturer:
Atmel
Datasheet:
![ATMEGA64RZAPV-10AU](/photos/6/70/67042/313-44-tqfp_tmb.jpg)
Part Number:
Description:
BUNDLE ATMEGA644P/AT86RF230 TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA128RZAV-8AU](/photos/12/13/121332/313-64-tqfp_tmb.jpg)
Part Number:
Description:
MCU ATMEGA1281/AT86RF230 64-TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA128RZBV-8AU](/photos/6/70/67048/313-100-tqfp_tmb.jpg)
Part Number:
Description:
MCU ATMEGA1280/AT86RF230 100TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA128RZBV-8CU](/photos/6/70/67048/313-100-tqfp_tmb.jpg)
Part Number:
Description:
BUNDLE ATMEGA1280/AT86RF100-TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA256RZBV-8CU](/photos/6/89/68968/313-100-cbga_tmb.jpg)
Part Number:
Description:
BUNDLE ATMEGA2560V/AT86RF230-ZU
Manufacturer:
Atmel
Datasheet:
![ATMEGA256RZAV-8AU](/photos/12/13/121332/313-64-tqfp_tmb.jpg)
Part Number:
Description:
MCU ATMEGA2561/AT86RF230 64-TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA168PA-PU](/photos/19/6/190669/ge28pdip05-40_tmb.jpg)
Part Number:
Description:
MCU, 8BIT, AVR, 16K FLASH, 28PDIP
Manufacturer:
Atmel
Datasheet:
![MIKROE-459](/photos/40/80/408077/mcu_card_atmega_tmb.jpg)
Part Number:
Description:
Microcontroller Modules MCU CARD BIGAVR6 100P W/ ATMEGA2560
Manufacturer:
mikroElektronika