ATmega168A Atmel Corporation, ATmega168A Datasheet - Page 68

no-image

ATmega168A

Manufacturer Part Number
ATmega168A
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega168A

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
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
Part Number:
ATmega168A-AU
Manufacturer:
ATMEL
Quantity:
464
Part Number:
ATmega168A-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega168A-AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega168A-AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega168A-CCU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega168A-CCUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega168A-MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega168A-PU
Manufacturer:
ATMEL
Quantity:
1 000
Table 12-6.
Notes:
8271D–AVR–05/11
VectorNo.
21
22
23
24
25
26
1. When the BOOTRST Fuse is programmed, the device will jump to the Boot Loader address at reset, see
2. When the IVSEL bit in MCUCR is set, Interrupt Vectors will be moved to the start of the Boot Flash Section. The address of
port – Read-While-Write Self-Programming” on page
each Interrupt Vector will then be the address in this table added to the start address of the Boot Flash Section.
Reset and Interrupt Vectors in ATmega328 and ATmega328P (Continued)
Address
Program
0x002A
0x002C
0x002E
0x0028
0x0030
0x0032
(2)
Table 12-7 on page 68
tions of BOOTRST and IVSEL settings. If the program never enables an interrupt source, the
Interrupt Vectors are not used, and regular program code can be placed at these locations. This
is also the case if the Reset Vector is in the Application section while the Interrupt Vectors are in
the Boot section or vice versa.
Table 12-7.
Note:
The most typical and general program setup for the Reset and Interrupt Vector Addresses in
ATmega328/328P is:
BOOTRST
Address Labels Code
0x0000
0x0002
0x0004
0x0006
0x0008
0x000A
0x000C
0x000E
0x0010
0x0012
0x0014
0x0016
0x0018
1
1
0
0
Source
USART, TX
ADC
EE READY
ANALOG COMP
TWI
SPM READY
1. The Boot Reset Address is shown in
means unprogrammed while “0” means programmed.
Reset and Interrupt Vectors Placement in ATmega328 and ATmega328P
IVSEL
ATmega48A/PA/88A/PA/168A/PA/328/P
0
1
0
1
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
shows reset and Interrupt Vectors placement for the various combina-
Reset Address
0x000
0x000
Boot Reset Address
Boot Reset Address
Interrupt Definition
USART, Tx Complete
ADC Conversion Complete
EEPROM Ready
Analog Comparator
2-wire Serial Interface
Store Program Memory Ready
RESET
EXT_INT0
EXT_INT1
PCINT0
PCINT1
PCINT2
WDT
TIM2_COMPA
TIM2_COMPB
TIM2_OVF
TIM1_CAPT
TIM1_COMPA
TIM1_COMPB
280.
Table 27-7 on page
Comments
; Reset Handler
; IRQ0 Handler
; IRQ1 Handler
; PCINT0 Handler
; PCINT1 Handler
; PCINT2 Handler
; Watchdog Timer Handler
; Timer2 Compare A Handler
; Timer2 Compare B Handler
; Timer2 Overflow Handler
; Timer1 Capture Handler
; Timer1 Compare A Handler
; Timer1 Compare B Handler
Interrupt Vectors Start Address
0x002
Boot Reset Address + 0x0002
0x002
Boot Reset Address + 0x0002
292. For the BOOTRST Fuse “1”
”Boot Loader Sup-
(1)
68

Related parts for ATmega168A