参数资料
型号: MC68HC11F1CFN4R2
厂商: FREESCALE SEMICONDUCTOR INC
元件分类: 微控制器/微处理器
英文描述: 8-BIT, EEPROM, 4 MHz, MICROCONTROLLER, PQCC68
封装: PLASTIC, LCC-68
文件页数: 114/163页
文件大小: 711K
代理商: MC68HC11F1CFN4R2
MOTOROLA
OPERATING MODES AND ON-CHIP MEMORY
MC68HC11F1
4-16
TECHNICAL DATA
4.4.1.4 EEPROM Byte Erase
The following is an example of how to erase a single byte of EEPROM and assumes
that index register X contains the address of the byte to be erased.
4.4.2 PPROG EEPROM Programming Control Register
Bits in PPROG register control parameters associated with EEPROM programming.
ODD — Program Odd Rows in Half of EEPROM (TEST)
EVEN — Program Even Rows in Half of EEPROM (TEST)
Bit 5 — Not implemented
Always reads zero
BYTE — Byte/Other EEPROM Erase Mode
0 = Row or bulk erase mode used
1 = Erase only one byte of EEPROM
ROW — Row/All EEPROM Erase Mode (only valid when BYTE = 0)
0 = All 512 bytes of EEPROM erased
1 = Erase only one 16-byte row of EEPROM
ROWE
LDAB
#$0E
ROW=1, ERASE=1, EELAT=1, EEPGM=0
STAB
$103B
Set to ROW erase mode
STAB
0,X
Store any data to any address in ROW
LDAB
#$0F
ROW=1, ERASE=1, EELAT=1, EEPGM=1
STAB
$103B
Turn on high voltage
JSR
DLY10
Delay 10 ms
CLR
$103B
Turn off high voltage and set to READ mode
BYTEE
LDAB
#$16
BYTE=1, ROW=0, ERASE=1, EELAT=1, EEPGM=0
STAB
$103B
Set to BYTE erase mode
STAB
0,X
Store any data to address to be erased
LDAB
#$17
BYTE=1, ROW=0, ERASE=1, EELAT=1, EEPGM=1
STAB
$103B
Turn on high voltage
JSR
DLY10
Delay 10 ms
CLR
$103B
Turn off high voltage and set to READ mode
PPROG — EEPROM Programming Control
$103B
Bit 7
654321
Bit 0
ODD
EVEN
BYTE
ROW
ERASE
EELAT
EEPGM
RESET:
0000000
0
相关PDF资料
PDF描述
MC68HC11KS1CFN4 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQCC68
MC68HC705C8AFN 8-BIT, OTPROM, MICROCONTROLLER, PQCC44
MC68HC908MR8VDWR3 8-BIT, FLASH, 8.2 MHz, MICROCONTROLLER, PDSO28
MC68HRC908JL3MFA 8-BIT, FLASH, 4 MHz, MICROCONTROLLER, PQFP48
MC68HSC705C8ACP 8-BIT, OTPROM, 4 MHz, MICROCONTROLLER, PDIP40
相关代理商/技术参数
参数描述
MC68HC11F1CFN5 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:Technical Summary 8-Bit Microcontroller
MC68HC11F1CFU 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:ROM-based high-performance microcontrollers
MC68HC11F1CFU1 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:ROM-based high-performance microcontrollers
MC68HC11F1CFU3 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:ROM-based high-performance microcontrollers
MC68HC11F1CFU4 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:ROM-based high-performance microcontrollers