ATmega168 Atmel Corporation, ATmega168 Datasheet - Page 61
![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.4
Table 12-4.
2545T–AVR–05/11
Vector no.
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
1
2
3
4
5
6
7
8
9
Interrupt vectors in Atmel ATmega168
Reset and interrupt vectors in ATmega168.
address
0x0000
Program
0x000A
0x000C
0x000E
0x001A
0x001C
0x001E
0x002A
0x002C
0x002E
0x0002
0x0004
0x0006
0x0008
0x0010
0x0012
0x0014
0x0016
0x0018
0x0020
0x0022
0x0024
0x0026
0x0028
0x0030
0x0032
(1)
(2)
Notes:
0xC1C
0xC1D
0xC1E
0xC1F
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
ADC
EE READY
ANALOG COMP
TWI
SPM READY
1. When the BOOTRST fuse is programmed, the device will jump to the boot loader address at
2. When the IVSEL bit in MCUCR is set, interrupt vectors will be moved to the start of the boot
reset, see
Atmel ATmega168” on page
flash section. The address of each Interrupt Vector will then be the address in this table added
to the start address of the boot flash section.
“Boot loader support – Read-while-write self-programming, Atmel ATmega88 and
ldi
out
sei
<instr>
Interrupt definition
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
ADC conversion complete
EEPROM ready
Analog comparator
2-wire serial interface
Store program memory ready
r16,low(RAMEND)
SPL,r16
xxx
269.
; Enable interrupts
ATmega48/88/168
61