参数资料
型号: MC68HC11F1VPU2
厂商: MOTOROLA INC
元件分类: 微控制器/微处理器
英文描述: Technical Summary 8-Bit Microcontroller
中文描述: 8-BIT, EEPROM, 2 MHz, MICROCONTROLLER, PQFP80
封装: 14 X 14 MM, 1.40 MM HEIGHT, PLASTIC, LQFP-80
文件页数: 114/163页
文件大小: 711K
代理商: MC68HC11F1VPU2
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描述
MC68HC11F1VPU3 Technical Summary 8-Bit Microcontroller
MC68HC11F1VPU4 Technical Summary 8-Bit Microcontroller
MI-QC211-MWY Military DC-DC Power Supplies
MI-QC211-MXY Military DC-DC Power Supplies
MI-QC211-MYY Military DC-DC Power Supplies
相关代理商/技术参数
参数描述
MC68HC11F1VPU3 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:Technical Summary 8-Bit Microcontroller
MC68HC11F1VPU4 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:Technical Summary 8-Bit Microcontroller
MC68HC11FC0 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:Technical Summary 8-Bit Microcontroller
MC68HC11FC0CFU4 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:Technical Summary 8-Bit Microcontroller
MC68HC11FC0CFU5 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:Technical Summary 8-Bit Microcontroller