ATmega64A Atmel Corporation, ATmega64A Datasheet - Page 157

no-image

ATmega64A

Manufacturer Part Number
ATmega64A
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega64A

Flash (kbytes)
64 Kbytes
Pin Count
64
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
53
Ext Interrupts
8
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Uart
2
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
4
Eeprom (bytes)
2048
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
8
Input Capture Channels
2
Pwm Channels
7
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATmega64A-AN
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega64A-ANR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega64A-AU
Manufacturer:
ATMEL
Quantity:
4 500
Part Number:
ATmega64A-AU
Manufacturer:
Atmel
Quantity:
900
Part Number:
ATmega64A-AU
Manufacturer:
ATMEL85
Quantity:
900
Part Number:
ATmega64A-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega64A-AU
Manufacturer:
ATMEL
Quantity:
8 000
Part Number:
ATmega64A-AU
Manufacturer:
AT
Quantity:
20 000
Company:
Part Number:
ATmega64A-AU
Quantity:
1 920
Company:
Part Number:
ATmega64A-AU
Quantity:
1 850
Company:
Part Number:
ATmega64A-AU
Quantity:
1 800
Company:
Part Number:
ATmega64A-AU
Quantity:
267
Company:
Part Number:
ATmega64A-AU
Quantity:
257
Part Number:
ATmega64A-AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega64A-MU
Manufacturer:
Atmel
Quantity:
5 200
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