ATmega640 Atmel Corporation, ATmega640 Datasheet - Page 92
ATmega640
Manufacturer Part Number
ATmega640
Description
Manufacturer
Atmel Corporation
Specifications of ATmega640
Flash (kbytes)
64 Kbytes
Pin Count
100
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
86
Ext Interrupts
32
Usb Speed
No
Usb Interface
No
Spi
5
Twi (i2c)
1
Uart
4
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
16
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
8
Eeprom (bytes)
4096
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.8 to 5.5
Operating Voltage (vcc)
1.8 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
6
Output Compare Channels
16
Input Capture Channels
4
Pwm Channels
15
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATmega640-16AU
Manufacturer:
OSRAM
Quantity:
12 000
Part Number:
ATmega640-16AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATmega640V-8AU
Manufacturer:
PHILIPS
Quantity:
56
- Current page: 92 of 448
- Download datasheet (8Mb)
13.3.8
2549N–AVR–05/11
Alternate Functions of Port H
Table 13-23. Overriding Signals for Alternate Functions in PG3:PG0
The Port H alternate pin configuration is as follows:
Table 13-24. Port H Pins Alternate Functions
• T4 – Port H, Bit 7
T4, Timer/Counter4 counter source.
• OC2B – Port H, Bit 6
OC2B, Output Compare Match B output: The PH6 pin can serve as an external output for the
Timer/Counter2 Output Compare B. The pin has to be configured as an output (DDH6 set) to
serve this function. The OC2B pin is also the output pin for the PWM mode timer function.
• OC4C – Port H, Bit 5
OC4C, Output Compare Match C output: The PH5 pin can serve as an external output for the
Timer/Counter4 Output Compare C. The pin has to be configured as an output (DDH5 set) to
serve this function. The OC4C pin is also the output pin for the PWM mode timer function.
Signal Name
DIEOE
DIEOV
Port Pin
PUOE
DDOE
DDOV
PUOV
PVOE
PVOV
PTOE
AIO
PH7
PH6
PH5
PH4
PH3
PH2
PH1
PH0
DI
T/C2 OSC OUTPUT
AS2 • EXCLK
AS2 • EXCLK
AS2 • EXCLK
PG3/TOSC2
0
0
0
0
–
0
–
OC4C (Output Compare and PWM Output C for Timer/Counter4)
OC2B (Output Compare and PWM Output B for Timer/Counter2)
OC4B (Output Compare and PWM Output B for Timer/Counter4)
OC4A (Output Compare and PWM Output A for Timer/Counter4)
ATmega640/1280/1281/2560/2561
T4 (Timer/Counter4 Clock Input)
XCK2 (USART2 External Clock)
PG2/ALE/A7
TXD2 (USART2 Transmit Pin)
RXD2 (USART2 Receive Pin)
SRE
SRE
SRE
ALE
Alternate Function
0
1
–
0
0
–
–
PG1/RD
SRE
SRE
SRE
RD
0
1
–
0
0
–
–
PG0/WR
SRE
SRE
SRE
WR
0
1
–
0
0
–
–
92
Related parts for ATmega640
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
U6046BREAR WINDOW HEATING TIMER / LONG-TERM TIMER
Manufacturer:
ATMEL Corporation
Datasheet: