AN2156 Freescale Semiconductor / Motorola, AN2156 Datasheet - Page 84

no-image

AN2156

Manufacturer Part Number
AN2156
Description
Programming and Erasing FLASH and EEPROM Memories on the MC68HC908AS60A/AZ60A
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Application Note
***************************************************************************
*****
***************************************************************************
* This routine determines whether EE1CR or EE2CR should be written to and *
* which bit(s) in the EExCR is set or clear based on the accumulator
* value and the EEPROM address specified by EEPROM_addr.
* Initializations required:
*
*
*
* Values returned:
*
***************************************************************************
WriteEECR:
EEPROM2:
EEPROM1:
WriteEECR_End:
How to reach us:
Motorola reserves the right to make changes without further notice to any products herein. Motorola makes no warranty, representation or guarantee regarding the suitability of its
products for any particular purpose, nor does Motorola assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability,
including without limitation consequential or incidental damages. "Typical" parameters which may be provided in Motorola data sheets and/or specifications can and do vary in different
applications and actual performance may vary over time. All operating parameters, including "Typicals" must be validated for each customer application by customer's technical experts.
Motorola does not convey any license under its patent rights nor the rights of others. Motorola products are not designed, intended, or authorized for use as components in systems
intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Motorola product could create a
situation where personal injury or death may occur. Should Buyer purchase or use Motorola products for any such unintended or unauthorized application, Buyer shall indemnify and hold
Motorola and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of,
directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Motorola was negligent regarding the
design or manufacture of the part. Motorola and
USA/EUROPE/Locations Not Listed: Motorola Literature Distribution; P.O. Box 5405, Denver, Colorado 80217. 1-303-675-2140 or 1-800-441-2447
JAPAN: Motorola Japan Ltd.; SPS, Technical Information Center, 3-20-1, Minami-Azabu, Minato-ku, Tokyo 106-8573 Japan. 81-3-3440-3569
ASIA/PACIFIC: Motorola Semiconductors H.K. Ltd.; Silicon Harbour Centre, 2 Dai King Street, Tai Po Industrial Estate, Tai Po, N.T., Hong Kong. 852-26668334
Technical Information Center: 1-800-521-6274
HOME PAGE: http://www.motorola.com/semiconductors/
- Set bit(s) in accumulator for making bit(s) in the EExCR set or
- Load EEPROM_addr to HX registers
- None
clear
cphx
bhs
cphx
bhs
eor
sta
bra
eor
sta
rts
#EE2DIVHNVR
EEPROM2
#eeprom-1
EEPROM1
EE2CR
EE2CR
WriteEECR_End
EE1CR
EE1CR
Write to EEPROM Control Register
Freescale Semiconductor, Inc.
are registered trademarks of Motorola, Inc. Motorola, Inc. is an Equal Opportunity/Affirmative Action Employer.
For More Information On This Product,
;If address >= $FF70, branch to EEPROM2
;If address >= $0800, write to EEPROM1
;Write to EE2CR register
;Write to EE1CR register
Go to: www.freescale.com
*****
*
*
*
*
*
*
*
*
© Motorola, Inc., 2001
AN2156/D

Related parts for AN2156