ATmega168 Atmel Corporation, ATmega168 Datasheet - Page 56
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
ATmega168
Manufacturer Part Number
ATmega168
Description
Manufacturer
Atmel Corporation
Specifications of ATmega168
Flash (kbytes)
16 Kbytes
Pin Count
32
Max. Operating Frequency
20 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
23
Ext Interrupts
24
Usb Speed
No
Usb Interface
No
Spi
2
Twi (i2c)
1
Uart
1
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)
1
Eeprom (bytes)
512
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
3
Output Compare Channels
6
Input Capture Channels
1
Pwm Channels
6
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATMEGA168
Manufacturer:
AVAILINK
Quantity:
1 590
Company:
Part Number:
ATmega168-15AD
Manufacturer:
VISHAY
Quantity:
15 600
Part Number:
ATmega168-15AT1
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATmega168-15MT
Manufacturer:
ATMEL
Quantity:
686
Part Number:
ATmega168-15MT
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATmega168-15MT1
Manufacturer:
ATMEL
Quantity:
372
Part Number:
ATmega168-15MZ
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega168-20AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
12. Interrupts
12.1
12.2
Table 12-1.
2545T–AVR–05/11
Vector no.
10
11
12
13
14
15
16
17
18
19
20
21
1
2
3
4
5
6
7
8
9
Overview
Interrupt vectors in ATmega48
Program address
Reset and interrupt vectors in ATmega48.
0x00A
0x00B
0x00C
0x00D
0x00E
0x000
0x001
0x002
0x003
0x004
0x005
0x006
0x007
0x008
0x009
0x00F
0x010
0x011
0x012
0x013
0x014
This section describes the specifics of the interrupt handling as performed in the Atmel
ATmega48/88/168. For a general explanation of the AVR interrupt handling, refer to
interrupt handling” on page
The interrupt vectors in ATmega48, ATmega88 and ATmega168 are generally the same, with
the following differences:
• Each interrupt vector occupies two instruction words in ATmega168, and one instruction word
• ATmega48 does not have a separate boot loader section. In ATmega88 and ATmega168, the
in ATmega48 and ATmega88
reset vector is affected by the BOOTRST fuse, and the interrupt vector start address is affected
by the IVSEL bit in MCUCR
Source
RESET
INT0
INT1
PCINT0
PCINT1
PCINT2
WDT
TIMER2 COMPA
TIMER2 COMPB
TIMER2 OVF
TIMER1 CAPT
TIMER1 COMPA
TIMER1 COMPB
TIMER1 OVF
TIMER0 COMPA
TIMER0 COMPB
TIMER0 OVF
SPI, STC
USART, RX
USART, UDRE
USART, TX
15.
External pin, power-on reset, brown-out reset and watchdog system reset
External interrupt request 0
External interrupt request 1
Pin change interrupt request 0
Pin change interrupt request 1
Pin change interrupt request 2
Watchdog time-out interrupt
Timer/Counter2 compare match A
Timer/Counter2 compare match B
Timer/Counter2 overflow
Timer/Counter1 capture event
Timer/Counter1 compare match A
Timer/Coutner1 compare match B
Timer/Counter1 overflow
Timer/Counter0 compare match A
Timer/Counter0 compare match B
Timer/Counter0 overflow
SPI serial transfer complete
USART Rx complete
USART, data register empty
USART, Tx complete
Interrupt definition
ATmega48/88/168
“Reset and
56