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

MC68HC11P1CFN3 参数 Datasheet PDF下载

MC68HC11P1CFN3图片预览
型号: MC68HC11P1CFN3
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器 [Microcontrollers]
分类和应用: 微控制器
文件页数/大小: 268 页 / 2323 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC68HC11P1CFN3的Datasheet PDF文件第65页浏览型号MC68HC11P1CFN3的Datasheet PDF文件第66页浏览型号MC68HC11P1CFN3的Datasheet PDF文件第67页浏览型号MC68HC11P1CFN3的Datasheet PDF文件第68页浏览型号MC68HC11P1CFN3的Datasheet PDF文件第70页浏览型号MC68HC11P1CFN3的Datasheet PDF文件第71页浏览型号MC68HC11P1CFN3的Datasheet PDF文件第72页浏览型号MC68HC11P1CFN3的Datasheet PDF文件第73页  
Freescale Semiconductor, Inc.  
Operating Modes and On-Chip Memory  
EPROM, EEPROM and CONFIG register  
6. Clear the PPROG register to reconfigure the EEPROM address  
and data buses for normal operation.  
The following is an example of how to bulk erase the 512-byte EEPROM.  
The CONFIG register is not affected in this example.  
BULKE  
LDAB  
STAB  
STAA  
LDAB  
STAB  
JSR  
#$02  
EELAT=1  
Set EELAT bit  
Store data to any EEPROM address  
EELAT=EEPGM=1  
Turn on programming voltage  
Delay 10 ms  
$103B  
$0D80  
#$03  
$103B  
DLY10  
$103B  
CLR  
Turn off high voltage and set to READ mode  
3.6.2.3 EEPROM row erase  
The following example shows how to perform a fast erase of large  
sections of EEPROM:  
ROWE  
LDAB  
STAB  
STAB  
LDAB  
STAB  
JSR  
#$0E  
$103B  
0,X  
ROW=ERASE=EELAT=1  
Set to ROW erase mode  
Write any data to any address in ROW  
ROW=ERASE=EELAT=EEPGM=1  
Turn on high voltage  
#$0F  
$103B  
DLY10  
$103B  
Delay 10 ms  
Turn off high voltage and set to READ mode  
CLR  
3.6.2.4 EEPROM byte erase  
The following is an example of how to erase a single byte of EEPROM:  
BYTEE  
LDAB  
STAB  
STAB  
LDAB  
STAB  
JSR  
#$16  
$103B  
0,X  
BYTE=ERASE=EELAT=1  
Set to BYTE erase mode  
Write any data to address to be erased  
BYTE=ERASE=EELAT=EEPGM=1  
Turn on high voltage  
#$17  
$103B  
DLY10  
$103B  
Delay 10 ms  
Turn off high voltage and set to READ mode  
CLR  
MC68HC11P2 — Rev 1.0  
Technical Data  
Operating Modes and On-Chip Memory  
For More Information On This Product,  
Go to: www.freescale.com  
 复制成功!