參數(shù)資料
型號(hào): MC68HC05K3
廠商: Motorola, Inc.
英文描述: 8-Bit Microcontroller Units (MCU).(8位微控制器)
中文描述: 8位微控制器單元(MCU)。(8位微控制器)
文件頁數(shù): 9/56頁
文件大?。?/td> 311K
代理商: MC68HC05K3
Application Note
Software Implementation
AN1288
MOTOROLA
9
5.
Jump to the byte programming routine.
a.
Shift out the least significant bit of the user data.
b.
If the bit to be programmed is a logical 1, set the PEPGM bit.
Set the CPEN bit to enable the PEEPROM’s on-chip charge
pump.
c.
Delay for 10 milliseconds.
d.
Clear the PEPGM and CPEN bits.
e.
Increment the value in the PEBSR select register to point to
the next bit to be programmed.
f.
If the PEPCZF bit is set in the PSCR status/control register,
indicating that the least significant bit of the next row is being
accessed, exit the programming routine.
6.
Increment the value in the DATA_PTR variable to point to the next
user data to be programmed.
7.
Decrement the row counter. If the counter reaches 0, fall through
to the PEEPROM verification routine. Otherwise, program the next
row or byte.
After programming the complete array with the 16 bytes contained in
locations $C0–$CF, the contents of each row are read back and
compared with its corresponding value in the user data buffer. If a bit
fails to verify, program execution is stopped at address $13F. If
programming and verification are successful, program execution is
stopped at address $13D. The contents of the PC register thus serves
as a flag as to whether programming was successful. For a full listing of
the code used to implement the programming algorithm, see
Assembly
Code Modules
.
The algorithm for reading a PEEPROM bit is outlined in the General
Release Specification for the MC68HC(8)05K3 (HC805K3GRS/D).
相關(guān)PDF資料
PDF描述
MC68HC805K3 8-Bit Microcontroller Units (MCU).(8位微控制器)
MC68HC05L16 80-Pin Microcontroller Unit (MCU) With Highly Sophisticated On-Chip Peripheral Functions(80腳、8位帶高級(jí)外圍電路功能的微控制器單元)
MC68HC05P18A Low Cost HCMOS Microcontroller(低成本、8位HCMOS微控制器)
MC68HC05P4A 28-pin MCU (microcontroller unit) based on the MC68HC05P4(28引腳、基于MC68HC05P4升級(jí)的8位微控制器單元)
MC68HC05PV8A Low Cost HCMOS Microcontroller(低成本、8位HCMOS微控制器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC05K3CDW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05K3CP 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05K3CSD 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05K3DW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05K3P 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit