欢迎访问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文件第57页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第58页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第59页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第60页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第62页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第63页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第64页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第65页  
ATmega48PA/88PA/168PA/328P  
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 ATmega88PA is:  
Address Labels Code  
Comments  
0x000  
0x001  
0x002  
RESET: ldi  
out  
r16,high(RAMEND); Main program start  
SPH,r16  
; Set Stack Pointer to top of RAM  
ldi  
r16,low(RAMEND)  
SPL,r16  
0x003  
0x004  
out  
sei  
; Enable interrupts  
0x005  
;
<instr> xxx  
.org 0xC01  
0xC01  
rjmp  
rjmp  
...  
EXT_INT0  
EXT_INT1  
...  
; IRQ0 Handler  
0xC02  
; IRQ1 Handler  
...  
;
0xC19  
rjmp  
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  
ATmega88PA is:  
Address Labels Code  
.org 0x001  
Comments  
0x001  
0x002  
...  
rjmp  
rjmp  
...  
EXT_INT0  
EXT_INT1  
...  
; IRQ0 Handler  
; IRQ1 Handler  
;
0x019  
;
rjmp  
SPM_RDY  
; Store Program Memory Ready Handler  
.org 0xC00  
0xC00  
0xC01  
0xC02  
RESET: ldi  
r16,high(RAMEND); Main program start  
out  
SPH,r16  
; Set Stack Pointer to top of RAM  
ldi  
r16,low(RAMEND)  
SPL,r16  
0xC03  
0xC04  
out  
sei  
; Enable interrupts  
0xC05  
<instr> xxx  
When the BOOTRST Fuse is programmed, 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 ATmega88PA is:  
Address Labels Code  
Comments  
;
.org 0xC00  
0xC00  
0xC01  
0xC02  
...  
rjmp  
rjmp  
rjmp  
...  
RESET  
; Reset handler  
EXT_INT0  
EXT_INT1  
...  
; IRQ0 Handler  
; IRQ1 Handler  
;
0xC19  
;
rjmp  
SPM_RDY  
; Store Program Memory Ready Handler  
0xC1A  
RESET: ldi  
r16,high(RAMEND); Main program start  
61  
8161D–AVR–10/09  
 复制成功!