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

ATMEGA48PA-CCU 参数 Datasheet PDF下载

ATMEGA48PA-CCU图片预览
型号: ATMEGA48PA-CCU
PDF下载: 下载PDF文件 查看货源
内容描述: [RISC Microcontroller, 8-Bit, FLASH, AVR RISC CPU, 20MHz, CMOS, PBGA32, 4 X 4 MM, 0.60 MM HEIGHT, 0.50 MM PITCH, GREEN, PLASTIC, UFBGA-32]
分类和应用: 闪存微控制器
文件页数/大小: 349 页 / 2752 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA48PA-CCU的Datasheet PDF文件第55页浏览型号ATMEGA48PA-CCU的Datasheet PDF文件第56页浏览型号ATMEGA48PA-CCU的Datasheet PDF文件第57页浏览型号ATMEGA48PA-CCU的Datasheet PDF文件第58页浏览型号ATMEGA48PA-CCU的Datasheet PDF文件第60页浏览型号ATMEGA48PA-CCU的Datasheet PDF文件第61页浏览型号ATMEGA48PA-CCU的Datasheet PDF文件第62页浏览型号ATMEGA48PA-CCU的Datasheet PDF文件第63页  
ATmega48/88/168  
0x0034  
RAM  
out  
SPH,r16  
; Set Stack Pointer to top of  
0x0035  
0x0036  
0x0037  
0x0038  
...  
ldi  
out  
sei  
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  
ATmega168 is:  
Address Labels Code  
Comments  
0x0000 RESET: ldi  
r16,high(RAMEND); Main program start  
0x0001  
RAM  
out  
ldi  
SPH,r16  
; Set Stack Pointer to top of  
0x0002  
r16,low(RAMEND)  
SPL,r16  
0x0003  
0x0004  
out  
sei  
; Enable interrupts  
0x0005  
;
<instr> xxx  
.org 0xC02  
0x1C02  
0x1C04  
...  
jmp  
jmp  
...  
jmp  
EXT_INT0  
; IRQ0 Handler  
EXT_INT1  
...  
; IRQ1 Handler  
;
0x1C32  
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  
ATmega168 is:  
Address Labels Code  
Comments  
.org 0x0002  
0x0002  
0x0004  
...  
jmp  
jmp  
...  
jmp  
EXT_INT0  
EXT_INT1  
...  
; IRQ0 Handler  
; IRQ1 Handler  
;
0x0032  
SPM_RDY  
; Store Program Memory Ready  
Handler  
;
.org 0x1C00  
0x1C00 RESET: ldi  
r16,high(RAMEND); Main program start  
0x1C01  
RAM  
out  
SPH,r16  
; Set Stack Pointer to top of  
0x1C02  
ldi  
r16,low(RAMEND)  
SPL,r16  
0x1C03  
0x1C04  
out  
sei  
; Enable interrupts  
0x1C05  
<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 typ-  
ical and general program setup for the Reset and Interrupt Vector Addresses in  
ATmega168 is:  
59  
2545D–AVR–07/04  
 复制成功!