AN2302 Freescale Semiconductor / Motorola, AN2302 Datasheet - Page 22

no-image

AN2302

Manufacturer Part Number
AN2302
Description
EEPROM Emulation for the MC9S12C32
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2302/D
22
Parameters:
Example:
Return
eepromAddr
PASS
FAIL
status = EraseEepromBank(eepromAddr);
Freescale Semiconductor, Inc.
For More Information On This Product,
EEPROM Emulation for the MC9S12C32
Go to: www.freescale.com
flash erase commands executed successfully
flash erase commands failed
address of the (first) flash sector(s) to be erased
Figure 10. EraseEepromBank Flow Diagram
EraseEepromBank
EEPROM bank
during erase?
during erase?
size > flash
ProgFlash:
erase flash
Interrupts
Interrupts
sector?
sector
Yes
Yes
No
Return
Yes
bank erased?
All sectors in
MaskInterrupts
RestoreCCR
Yes
No
No
Next sector
No
MOTOROLA

Related parts for AN2302