ATMEGA64-16MC Atmel, ATMEGA64-16MC Datasheet - Page 140

no-image

ATMEGA64-16MC

Manufacturer Part Number
ATMEGA64-16MC
Description
IC AVR MCU 64K 16MHZ COM 64-QFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA64-16MC

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
53
Program Memory Size
64KB (32K x 16)
Program Memory Type
FLASH
Eeprom Size
2K x 8
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
64-MLF®, 64-QFN
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
ICR1H and ICR1L –
Input Capture Register
1
ICR3H and ICR3L –
Input Capture Register
3
TIMSK –
Timer/Counter
Interrupt Mask
Register
2490Q–AVR–06/10
(1)
The Input Capture is updated with the counter (TCNTn) value each time an event occurs on the
ICPn pin (or optionally on the Analog Comparator output for Timer/Counter1). The Input Capture
can be used for defining the counter TOP value.
The Input Capture Register is 16-bit in size. To ensure that both the high and low bytes are read
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.
Note:
• Bit 5 – TICIE1: Timer/Counter1, Input Capture Interrupt Enable
When this bit is written to one, and the I-flag in the Status Register is set (interrupts globally
enabled), the Timer/Counter1 Input Capture interrupt is enabled. The corresponding Interrupt
Vector (see “Interrupts” on page 61) is executed when the ICF1 flag, located in TIFR, is set.
• Bit 4 – OCIE1A: Timer/Counter1, Output Compare A Match Interrupt Enable
When this bit is written to one, and the I-flag in the Status Register is set (interrupts globally
enabled), the Timer/Counter1 Output Compare A Match interrupt is enabled. The corresponding
Interrupt Vector (see “Interrupts” on page 61) is executed when the OCF1A flag, located in TIFR,
is set.
• Bit 3 – OCIE1B: Timer/Counter1, Output Compare B Match Interrupt Enable
When this bit is written to one, and the I-flag in the Status Register is set (interrupts globally
enabled), the Timer/Counter1 Output Compare B Match interrupt is enabled. The corresponding
Interrupt Vector (see “Interrupts” on page 61) is executed when the OCF1B flag, located in TIFR,
is set.
Bit
0x27 (0x47)
0x26 (0x46)
Read/Write
Initial Value
Bit
(0x81)
(0x80)
Read/Write
Initial Value
Bit
0x37 (0x57)
Read/Write
Initial Value
1. This register contains interrupt control bits for several Timer/Counters, but only Timer1 bits are
See “Accessing 16-bit Registers” on page 115.
described in this section. The remaining bits are described in their respective timer sections.
OCIE2
R/W
R/W
R/W
7
0
7
0
7
0
TOIE2
R/W
R/W
R/W
6
0
6
0
6
0
TICIE1
R/W
R/W
R/W
5
0
5
0
5
0
OCIE1A
R/W
R/W
R/W
4
0
4
0
4
0
ICR1[15:8]
ICR3[15:8]
ICR1[7:0]
ICR3[7:0]
OCIE1B
R/W
R/W
R/W
3
0
3
0
3
0
TOIE1
R/W
R/W
R/W
2
0
2
0
2
0
OCIE0
R/W
R/W
R/W
1
0
1
0
1
0
ATmega64(L)
TOIE0
R/W
R/W
R/W
0
0
0
0
0
0
ICR1H
ICR3H
ICR1L
ICR3L
TIMSK
140

Related parts for ATMEGA64-16MC