AN2156 Freescale Semiconductor / Motorola, AN2156 Datasheet - Page 73

no-image

AN2156

Manufacturer Part Number
AN2156
Description
Programming and Erasing FLASH and EEPROM Memories on the MC68HC908AS60A/AZ60A
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
***************************************************************************
*****
***************************************************************************
EEPROM_addr
data
times
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
***************************************************************************
***************************************************************************
*
*
*
***************************************************************************
* File Name: EEPROM.srt
*
* Current Revision: 1.1
* Current Release Level: RP
* Current Revision Release Date: 5/21/2001
*
* Current Release Written By: Adeela Gill and Kazue Kikuchi
*
*
* Assembled Under: CASM08Z (P&E Microcomputer Systems, Inc.)
*
*
* Part Family Software Routine Works With: HC08
*
* Revision History:
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
AN2156
MOTOROLA
Module Size (Bytes):
Stack Space Used (Bytes):
RAM Used (Bytes):
Global Variable(s) Used:
Submodule(s) Called:
Calling Sequence:
Entry Label:
Entry Conditions:
Rev. 1.1
EEPROM Program and Erase Subroutine on the MC68HC908AS60A/AZ60A
rmb
rmb
rmb
Delay time evaluation code added
$2
$1
$1
Ver.: 3.16
Motorola Applications Engineering - Austin, TX
Freescale Semiconductor, Inc.
For More Information On This Product,
RAM Variables
EEPROMroutine 45
WriteEECR
ms_delay
EEPROMroutine 4
WriteEECR
ms_delay
EEPROMroutine 4
WriteEECR
ms_delay
EEPROMroutine EEPROM_addr, data
WriteEECR
ms_delay
EEPROMroutine WriteEECR, ms_delay
WriteEECR
ms_delay
JSR EEPROMroutine, JSR WriteEECR
EEPROMroutine, WriteEECR, ms_delay
EEPROMroutine 2 bytes address defined at *
;16 bit Address of EEPROM memory to erase
; or program
;data byte that will be programmed
;1 byte in which the delay time will be
; specified
Go to: www.freescale.com
Copyright (c) Motorola 2001
25
16
0
0
0
1
EEPROM_addr
None
None
None
1 programming byte located *
at variable data (the
EEPROM_addr
Standard EEPROM Assembly Source Code
*****
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
Application Note
73

Related parts for AN2156