ATMEGA64A-MNR Atmel, ATMEGA64A-MNR Datasheet - Page 157

IC MCU AVR 64K FLASH 8QFN

ATMEGA64A-MNR

Manufacturer Part Number
ATMEGA64A-MNR
Description
IC MCU AVR 64K FLASH 8QFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheet

Specifications of ATMEGA64A-MNR

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)
2.7 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Core
AVR8
Data Bus Width
8 bit
Data Ram Size
2 KB
Interface Type
SPI, UART, I2C
Maximum Clock Frequency
16 MHz
Number Of Programmable I/os
53
Operating Supply Voltage
2.7 V to 5.5 V
Maximum Operating Temperature
+ 105 C
Mounting Style
SMD/SMT
Operating Temperature Range
- 40 C to + 85 C
Processor To Be Evaluated
ATMEGA64A
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
17.9
17.9.1
8160C–AVR–07/09
Register Description
TCCR2 – Timer/Counter Control Register
Figure 17-10. Timer/Counter Timing Diagram, Setting of OCF2, with Prescaler (f
Figure 17-11
Figure 17-11. Timer/Counter Timing Diagram, Clear Timer on Compare Match Mode, with Pres-
• Bit 7 – FOC2: Force Output Compare
The FOC2 bit is only active when the WGM20 bit specifies a non-PWM mode. However, for
ensuring compatibility with future devices, this bit must be set to zero when TCCR2 is written
when operating in PWM mode. When writing a logical one to the FOC2 bit, an immediate Com-
pare Match is forced on the waveform generation unit. The OC2 output is changed according to
its COM21:0 bits setting. Note that the FOC2 bit is implemented as a strobe. Therefore it is the
value present in the COM21:0 bits that determines the effect of the forced compare.
Bit
0x25 (0x45)
Read/Write
Initial Value
TCNTn
TCNTn
(clk
(clk
OCRn
OCRn
(CTC)
OCFn
OCFn
clk
clk
clk
clk
I/O
I/O
I/O
I/O
Tn
Tn
/8)
/8)
shows the setting of OCF2 and the clearing of TCNT2 in CTC mode.
caler (f
FOC2
W
7
0
clk_I/O
WGM20
OCRn - 1
TOP - 1
R/W
6
0
/8)
COM21
R/W
5
0
COM20
R/W
OCRn
4
0
TOP
OCRn Value
WGM21
TOP
R/W
3
0
CS22
R/W
BOTTOM
OCRn + 1
2
0
CS21
R/W
1
0
ATmega64A
BOTTOM + 1
CS20
R/W
OCRn + 2
0
0
clk_I/O
/8)
TCCR2
157

Related parts for ATMEGA64A-MNR