ATMEGA16U4-MU Atmel, ATMEGA16U4-MU Datasheet - Page 134

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
14.10.7
14.10.8
14.10.9
14.10.10 Output Compare Register 1 B – OCR1BH and OCR1BL
14.10.11 Output Compare Register 1 C – OCR1CH and OCR1CL
7766F–AVR–11/10
Timer/Counter1 – TCNT1H and TCNT1L
Timer/Counter3 – TCNT3H and TCNT3L
Output Compare Register 1 A – OCR1AH and OCR1AL
The two Timer/Counter I/O locations (TCNTnH and TCNTnL, combined TCNTn) give direct
access, both for read and for write operations, to the Timer/Counter unit 16-bit counter. To
ensure that both the high and low bytes are read and written simultaneously when the CPU
accesses these registers, the access is performed using an 8-bit temporary High Byte Register
(TEMP). This temporary register is shared by all the other 16-bit registers.
Registers” on page 110.
Modifying the counter (TCNTn) while the counter is running introduces a risk of missing a com-
pare match between TCNTn and one of the OCRnx Registers.
Writing to the TCNTn Register blocks (removes) the compare match on the following timer clock
for all compare units.
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
7
TCNT1[15:8]
TCNT1[7:0]
R/W
0
7
TCNT3[15:8]
TCNT3[7:0]
R/W
0
7
R/W
0
7
R/W
0
7
R/W
0
6
R/W
0
6
R/W
0
6
R/W
0
6
R/W
0
6
R/W
0
5
R/W
0
5
R/W
0
5
R/W
0
5
R/W
0
5
R/W
0
4
R/W
0
4
R/W
0
4
R/W
0
4
R/W
0
4
R/W
0
OCR1A[15:8]
OCR1B[15:8]
OCR1C[15:8]
OCR1A[7:0]
OCR1B[7:0]
OCR1C[7:0]
3
0
3
0
3
0
3
0
3
0
R/W
R/W
R/W
R/W
R/W
2
R/W
0
2
R/W
0
2
R/W
0
2
R/W
0
2
R/W
0
1
R/W
0
1
R/W
0
1
R/W
0
1
R/W
0
1
R/W
0
ATmega16/32U4
0
R/W
0
0
R/W
0
0
R/W
0
0
R/W
0
0
R/W
0
See “Accessing 16-bit
TCNT1H
TCNT1L
TCNT3H
TCNT3L
OCR1AH
OCR1AL
OCR1BH
OCR1BL
OCR1CH
OCR1CL
134

Related parts for ATMEGA16U4-MU