ATMEGA48A-PU Atmel, ATMEGA48A-PU Datasheet - Page 68

IC MCU AVR 4K FLASH 28PDIP

ATMEGA48A-PU

Manufacturer Part Number
ATMEGA48A-PU
Description
IC MCU AVR 4K FLASH 28PDIP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA48A-PU

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
4KB (2K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
1.8 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)
Controller Family/series
Atmega
No. Of I/o's
23
Eeprom Memory Size
256Byte
Ram Memory Size
512Byte
Cpu Speed
20MHz
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
8271C–AVR–08/10
When the BOOTRST Fuse is unprogrammed, the Boot section size set to 2K bytes 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 ATmega328/328P is:
When the BOOTRST Fuse is programmed and the Boot section size set to 2K bytes, the most
typical and general program setup for the Reset and Interrupt Vector Addresses in
ATmega328/328P is:
ATmega48A/48PA/88A/88PA/168A/168PA/328/328
0x001A
0x001C
0x001E
0x0020
0x0022
0x0024
0x0026
0x0028
0x002A
0x002C
0x002E
0x0030
0x0032
;
0x0033RESET:
0x0034
0x0035
0x0036
0x0037
0x0038
Address Labels Code
0x0000
0x0001
0x0002
0x0003
0x0004
0x0005
;
.org 0x3C02
0x3C02
0x3C04
...
0x3C32
Address Labels Code
.org 0x0002
0x0002
0x0004
...
0x0032
...
RESET: ldi
...
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
ldi
out
ldi
out
sei
<instr>
out
ldi
out
sei
<instr>
jmp
jmp
...
jmp
jmp
jmp
...
jmp
...
...
TIM1_OVF
TIM0_COMPA
TIM0_COMPB
TIM0_OVF
SPI_STC
USART_RXC
USART_UDRE
USART_TXC
ADC
EE_RDY
ANA_COMP
TWI
SPM_RDY
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
xxx
xxx
Comments
; Timer1 Overflow Handler
; Timer0 Compare A Handler
; Timer0 Compare B Handler
; Timer0 Overflow Handler
; SPI Transfer Complete Handler
; USART, RX Complete Handler
; USART, UDR Empty Handler
; USART, TX Complete Handler
; ADC Conversion Complete Handler
; EEPROM Ready Handler
; Analog Comparator Handler
; 2-wire Serial Interface Handler
; Store Program Memory Ready Handler
; 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
68

Related parts for ATMEGA48A-PU