欢迎访问ic37.com |
会员登录 免费注册
发布采购

ATMEGA48PA-AU 参数 Datasheet PDF下载

ATMEGA48PA-AU图片预览
型号: ATMEGA48PA-AU
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器与4/8/ 16 / 32K字节的系统内可编程闪存 [8-bit Microcontroller with 4/8/16/32K Bytes In-System Programmable Flash]
分类和应用: 闪存微控制器和处理器外围集成电路时钟
文件页数/大小: 448 页 / 12817 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA48PA-AU的Datasheet PDF文件第63页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第64页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第65页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第66页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第68页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第69页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第70页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第71页  
ATmega48PA/88PA/168PA/328P  
0x0020  
0x0022  
0x0024  
0x0026  
0x0028  
0x002A  
0x002C  
0x002E  
0x0030  
0x0032  
;
jmp  
jmp  
jmp  
jmp  
jmp  
jmp  
jmp  
jmp  
jmp  
jmp  
TIM0_OVF  
; Timer0 Overflow Handler  
SPI_STC  
USART_RXC  
USART_UDRE  
USART_TXC  
ADC  
; SPI Transfer Complete Handler  
; USART, RX Complete Handler  
; USART, UDR Empty Handler  
; USART, TX Complete Handler  
; ADC Conversion Complete Handler  
; EEPROM Ready Handler  
EE_RDY  
ANA_COMP  
TWI  
; Analog Comparator Handler  
; 2-wire Serial Interface Handler  
; Store Program Memory Ready Handler  
SPM_RDY  
0x0033RESET:  
0x0034  
0x0035  
0x0036  
0x0037  
0x0038  
ldi  
out  
ldi  
out  
sei  
r16, high(RAMEND); Main program start  
SPH,r16  
; Set Stack Pointer to top of RAM  
r16, low(RAMEND)  
SPL,r16  
; Enable interrupts  
<instr> xxx  
... ...  
...  
...  
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 ATmega328P is:  
Address Labels Code  
0x0000 RESET: ldi  
Comments  
r16,high(RAMEND); Main program start  
0x0001  
0x0002  
out  
ldi  
SPH,r16  
; Set Stack Pointer to top of RAM  
r16,low(RAMEND)  
SPL,r16  
0x0003  
0x0004  
out  
sei  
; Enable interrupts  
0x0005  
;
<instr> xxx  
.org 0x3C02  
0x3C02  
0x3C04  
...  
jmp  
jmp  
...  
jmp  
EXT_INT0  
; IRQ0 Handler  
EXT_INT1  
...  
; IRQ1 Handler  
;
0x3C32  
SPM_RDY  
; Store Program Memory Ready Handler  
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  
ATmega328P is:  
Address Labels Code  
.org 0x0002  
Comments  
0x0002  
0x0004  
...  
jmp  
jmp  
...  
jmp  
EXT_INT0  
EXT_INT1  
...  
; IRQ0 Handler  
; IRQ1 Handler  
;
0x0032  
;
SPM_RDY  
; Store Program Memory Ready Handler  
.org 0x3C00  
0x3C00 RESET: ldi  
r16,high(RAMEND); Main program start  
67  
8161D–AVR–10/09  
 复制成功!