ATMEGA168-20PI Atmel, ATMEGA168-20PI Datasheet - Page 62
ATMEGA168-20PI
Manufacturer Part Number
ATMEGA168-20PI
Description
IC AVR MCU 16K 20MHZ 28DIP
Manufacturer
Atmel
Series
AVR® ATmegar
Specifications of ATMEGA168-20PI
Core Processor
AVR
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
23
Program Memory Size
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 6x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
- Current page: 62 of 378
- Download datasheet (8Mb)
62
ATmega48/88/168
When the BOOTRST Fuse is unprogrammed, the Boot section size set to 2 Kbytes and the
IVSEL bit in the MCUCR Register is set before any interrupts are enabled, the most typical and
general program setup for the Reset and Interrupt Vector Addresses in ATmega168 is:
When the BOOTRST Fuse is programmed and the Boot section size set to 2 Kbytes, the most
typical and general program setup for the Reset and Interrupt Vector Addresses in ATmega168
is:
When the BOOTRST Fuse is programmed, the Boot section size set to 2 Kbytes and the IVSEL
bit in the MCUCR Register is set before any interrupts are enabled, the most typical and general
program setup for the Reset and Interrupt Vector Addresses in ATmega168 is:
;
0x0033RESET:
0x0034
0x0035
0x0036
0x0037
0x0038
Address Labels Code
0x0000
0x0001
0x0002
0x0003
0x0004
0x0005
;
.org 0xC02
0x1C02
0x1C04
...
0x1C32
Address Labels Code
.org 0x0002
0x0002
0x0004
...
0x0032
;
.org 0x1C00
0x1C00
0x1C01
0x1C02
0x1C03
0x1C04
0x1C05
...
RESET: ldi
RESET: ldi
...
ldi
out
ldi
out
sei
<instr>
out
ldi
out
sei
<instr>
jmp
jmp
...
jmp
jmp
jmp
...
jmp
out
ldi
out
sei
<instr>
...
...
r16, high(RAMEND); Main program start
SPH,r16
r16, low(RAMEND)
SPL,r16
r16,high(RAMEND); Main program start
SPH,r16
r16,low(RAMEND)
SPL,r16
EXT_INT0
EXT_INT1
...
SPM_RDY
EXT_INT0
EXT_INT1
...
SPM_RDY
r16,high(RAMEND); Main program start
SPH,r16
r16,low(RAMEND)
SPL,r16
xxx
xxx
xxx
Comments
; Set Stack Pointer to top of RAM
; Enable interrupts
Comments
; Set Stack Pointer to top of RAM
; Enable interrupts
; IRQ0 Handler
; IRQ1 Handler
;
; Store Program Memory Ready Handler
; IRQ0 Handler
; IRQ1 Handler
;
; Store Program Memory Ready Handler
; Set Stack Pointer to top of RAM
; Enable interrupts
2545S–AVR–07/10
Related parts for ATMEGA168-20PI
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
IC AVR MCU 16K 20MHZ 32TQFP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC AVR MCU 16K 20MHZ 32-QFN
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC AVR MCU 16K 20MHZ 28DIP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
MCU AVR 16K FLASH 15MHZ 32-TQFP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
MCU AVR 16K FLASH 15MHZ 32-QFN
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC AVR MCU 16K 20MHZ 32TQFP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
MCU AVR 16KB FLASH 20MHZ 32QFN
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
MCU AVR 16KB FLASH 20MHZ 32TQFP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC MCU AVR 16K FLASH 32-QFN
Manufacturer:
Atmel
Datasheet: