AN1827 Freescale Semiconductor / Motorola, AN1827 Datasheet - Page 55

no-image

AN1827

Manufacturer Part Number
AN1827
Description
Programming and Erasing FLASH Memory on the MC68HC908AS60
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
/*
/*
/*
/*
/* Submodule(s) Called:
/*
/*
/*
/*
/* Calling Sequence:
/*
/*
/*
/*
/* Entry Label:
/*
/*
/*
/*
/* Entry Conditions:
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
/* Number of Exit Points:
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
/* Full Functional Description Of Subroutine:
/*
/*
/*
/*
/*
AN1827
MOTOROLA
and programming algorithms, respectively. The routines also call
Prog_er_srt.c consists of two primary subroutines called
EraseRoutine and Prog8Bytes. These demonstrate 2TS flash erasing
other subroutines WriteFLCR and Delay.
Exit Label:
Exit Conditions:
EraseRoutine ()
void EraseRoutine(),
EraseRoutine
Freescale Semiconductor, Inc.
For More Information On This Product,
EraseRoutine
Delay
WriteFLCR
Prog8Bytes
EraseRoutine
Delay
WriteFLCR
int=Prog8Bytes ()
WriteFLCR (unsigned char)
Delay (unsigned char)
unsigned char Prog8Bytes()
void WriteFLCR (unsigned char)
void Delay (unsigned char)
Prog8Bytes
WriteFLCR
Delay
4
EraseRoutine
Prog8Bytes
WriteFLCR
Delay
EraseRoutine
Prog8Bytes
WriteFLCR
Delay
Go to: www.freescale.com
2 byte address defined at
FLASH_addr
None
FLASH_addr
WriteFLCR, Delay
WriteFLCR, Delay
None
None
8 programming bytes located
2 bytes address defined at
1 byte FLCR bit definition
1 byte delay value passed in
Erase990
Prog990
FLCR990
Delay990
None
pass/fail result returned
None
None
2 bytes address defined at
FLASH_addr
FLASH_addr
at variable data
FLASH_addr
passed in
Application Note
C Source Code
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
55

Related parts for AN1827