欢迎访问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文件第270页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第271页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第272页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第273页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第275页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第276页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第277页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第278页  
ATmega48PA/88PA/168PA/328P  
sbci YH, high(PAGESIZEB)  
Rdloop:  
lpm r0, Z+  
ld  
r1, Y+  
cpse r0, r1  
rjmp Error  
sbiw loophi:looplo, 1  
brne Rdloop  
;use subi for PAGESIZEB<=256  
; return to RWW section  
; verify that RWW section is safe to read  
Return:  
in  
temp1, SPMCSR  
sbrs temp1, RWWSB  
ret  
; If RWWSB is set, the RWW section is not ready yet  
; re-enable the RWW section  
ldi spmcrval, (1<<RWWSRE) | (1<<SELFPRGEN)  
rcallDo_spm  
rjmp Return  
Do_spm:  
; check for previous SPM complete  
Wait_spm:  
in  
temp1, SPMCSR  
sbrc temp1, SELFPRGEN  
rjmp Wait_spm  
; input: spmcrval determines SPM action  
; disable interrupts if enabled, store status  
in  
temp2, SREG  
cli  
; check that no EEPROM write access is present  
Wait_ee:  
sbic EECR, EEPE  
rjmp Wait_ee  
; SPM timed sequence  
out SPMCSR, spmcrval  
spm  
; restore SREG (to enable interrupts if originally enabled)  
out SREG, temp2  
ret  
274  
8161D–AVR–10/09  
 复制成功!