ATmega165P Atmel Corporation, ATmega165P Datasheet - Page 52

no-image

ATmega165P

Manufacturer Part Number
ATmega165P
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega165P

Flash (kbytes)
16 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
54
Ext Interrupts
17
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
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
4
Input Capture Channels
1
Pwm Channels
4
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATmega165P-16AN
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega165P-16ANR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega165P-16AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega165P-16AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega165PA-AN
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega165PV-8AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
10. Interrupts
10.1
8019K–AVR–11/10
Interrupt Vectors in ATmega165P
This section describes the specifics of the interrupt handling as performed in ATmega165P. For
a general explanation of the AVR interrupt handling, refer to
page
Table 10-1.
Notes:
Table 10-2 on page 53
tions of BOOTRST and IVSEL settings.
Vector
No.
10
11
12
13
14
15
16
17
18
19
20
21
22
1
2
3
4
5
6
7
8
9
12.
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
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.
Address
Program
0x0000
0x000C
0x001C
0x0002
0x0004
0x0006
0x0008
0x000A
0x000E
0x0010
0x0012
0x0016
0x001A
0x001E
0x0020
0x0022
0x0024
0x0026
0x0028
0x002A
0x0014
0x0018
Reset and Interrupt Vectors
(1)
(2)
“Boot Loader Support – Read-While-Write Self-Programming” on page
shows reset and Interrupt Vectors placement for the various combina-
Source
RESET
INT0
PCINT0
PCINT1
TIMER2 COMP
TIMER2 OVF
TIMER1 CAPT
TIMER1 COMPA
TIMER1 COMPB
TIMER1 OVF
TIMER0 COMP
TIMER0 OVF
SPI, STC
USART, RX
USART, UDRE
USART, TX
USI START
USI OVERFLOW
ANALOG COMP
ADC
EE READY
SPM READY
Interrupt Definition
External Pin, Power-on Reset, Brown-out Reset,
Watchdog Reset, and JTAG AVR Reset
External Interrupt Request 0
Pin Change Interrupt Request 0
Pin Change Interrupt Request 1
Timer/Counter2 Compare Match
Timer/Counter2 Overflow
Timer/Counter1 Capture Event
Timer/Counter1 Compare Match A
Timer/Counter1 Compare Match B
Timer/Counter1 Overflow
Timer/Counter0 Compare Match
Timer/Counter0 Overflow
SPI Serial Transfer Complete
USART0, Rx Complete
USART0 Data Register Empty
USART0, Tx Complete
USI Start Condition
USI Overflow
Analog Comparator
ADC Conversion Complete
EEPROM Ready
Store Program Memory Ready
“Reset and Interrupt Handling” on
ATmega165P
250.
52

Related parts for ATmega165P