ATmega168P Atmel Corporation, ATmega168P Datasheet - Page 58
ATmega168P
Manufacturer Part Number
ATmega168P
Description
Manufacturer
Atmel Corporation
Specifications of ATmega168P
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
Yes
Crypto Engine
No
Sram (kbytes)
1
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
Yes
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:
ATmega168P-20AU
Manufacturer:
ATMEL
Quantity:
1 250
Company:
Part Number:
ATmega168P-20MU
Manufacturer:
ATMEL
Quantity:
12 000
Part Number:
ATmega168P-20MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATmega168PA-15AZ
Manufacturer:
VAC
Quantity:
120
Company:
Part Number:
ATmega168PA-15MZ
Manufacturer:
TOSHIBA
Quantity:
1 000
Company:
Part Number:
ATmega168PA-AU
Manufacturer:
Atmel
Quantity:
2 902
Part Number:
ATmega168PA-AU
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
ATmega168PA-MMH
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
12. Interrupts
12.1
Table 12-1.
58
Vector No.
10
11
12
13
14
15
16
17
18
19
20
21
22
23
1
2
3
4
5
6
7
8
9
Interrupt Vectors in ATmega48P
ATmega48P/88P/168P
Program Address
Reset and Interrupt Vectors in ATmega48P
0x00C
0x00D
0x000
0x001
0x002
0x003
0x004
0x005
0x006
0x007
0x008
0x00A
0x00B
0x00E
0x00F
0x009
0x010
0x011
0x012
0x013
0x014
0x015
0x016
T h i s s e c t i o n d e s c r i b e s t h e s p e c i f i c s o f t h e i n t e r r u p t h a n d l i n g a s p e r f o r m e d i n
ATmega48P/88P/168P. For a general explanation of the AVR interrupt handling, refer to
and Interrupt Handling” on page
The interrupt vectors in ATmega48P, ATmega88P and ATmega168P are generally the same,
with the following differences:
• Each Interrupt Vector occupies two instruction words in ATmega168P, and one instruction
• ATmega48P does not have a separate Boot Loader Section. In ATmega88P and
word in ATmega48P and ATmega88P.
ATmega168P, the 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
ADC
EE READY
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
15.
8025M–AVR–6/11
”Reset