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

MC68HC908AP64CFB 参数 Datasheet PDF下载

MC68HC908AP64CFB图片预览
型号: MC68HC908AP64CFB
PDF下载: 下载PDF文件 查看货源
内容描述: [MC68HC908AP64CFB]
分类和应用: 外围集成电路时钟
文件页数/大小: 325 页 / 1651 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC68HC908AP64CFB的Datasheet PDF文件第131页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第132页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第133页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第134页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第136页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第137页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第138页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第139页  
Monitor ROM (MON)  
8.5.7 EE_READ  
EE_READ is used to load the data array in RAM with a set of data from FLASH.  
Table 8-17. EE_READ Routine  
Routine Name EE_READ  
Emulated EEPROM read. Data size ranges from 7 to 15 bytes at  
a time.  
Routine Description  
Calling Address $FD5B  
Stack Used 18 bytes  
Bus speed (BUS_SPD)  
Data size (DATASIZE)  
Starting address (ADDRH)(1)  
Starting address (ADDRL)(1)  
Data Block Format  
Data 1  
:
Data N  
1. The start address must be a page boundary start address.  
The EE_READ routine reads data stored by the EE_WRITE routine. An EE_READ call will retrieve the  
last data written to a FLASH page and loaded into the data array in RAM. Same as EE_WRITE, the data  
size indicated by DATASIZE is 7 to 15, and the start address ADDRH:ADDRL must the FLASH page  
boundary address.  
The coding example below uses the data stored by the EE_WRITE coding example (see 8.5.6  
EE_WRITE). It loads the 15-byte data set stored in the $EE00–$EFFF page to the data array in RAM.  
The initialization subroutine is the same as the coding example for EE_WRITE (see 8.5.6 EE_WRITE).  
EE_READ  
MAIN:  
EQU  
$FD5B  
BSR  
:
INITIALIZATION  
:
LDHX  
JSR  
:
#FILE_PTR  
EE_READ  
NOTE  
The EE_READ routine is unable to check for incorrect data blocks, such as  
the FLASH page boundary address and data size. It is the responsibility of  
the user to ensure the starting address indicated in the data block is at the  
FLASH page boundary and the data size is 7 to 15. If the FLASH page is  
programmed with a data array with a different size, the EE_READ call will  
be ignored.  
MC68HC908AP Family Data Sheet, Rev. 4  
134  
Freescale Semiconductor  
 复制成功!