参数资料
型号: MC68HC11F1CPU4
厂商: FREESCALE SEMICONDUCTOR INC
元件分类: 微控制器/微处理器
英文描述: 8-BIT, EEPROM, 4 MHz, MICROCONTROLLER, PQFP80
封装: 14 X 14 MM, 1.40 MM HEIGHT, LQFP-80
文件页数: 113/162页
文件大小: 4554K
代理商: MC68HC11F1CPU4
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
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
..
.
相关PDF资料
PDF描述
MC68322FT20 16-BIT, 20 MHz, RISC PROCESSOR, PQFP160
MC68HC08AS32VAFN 8-BIT, MROM, 8.4 MHz, MICROCONTROLLER, PQCC52
MC68HRC98JL3EMP 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDIP28
MC9S12B64CPV16 16-BIT, FLASH, 16 MHz, MICROCONTROLLER, PQFP112
MC68HC05C4AB 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP42
相关代理商/技术参数
参数描述
MC68HC11F1CPU5 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:Technical Summary 8-Bit Microcontroller
MC68HC11F1CPUE5 制造商:Freescale Semiconductor 功能描述:
MC68HC11F1FB 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:ROM-based high-performance microcontrollers
MC68HC11F1FB1 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:ROM-based high-performance microcontrollers
MC68HC11F1FB3 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:ROM-based high-performance microcontrollers