AN2504 Freescale Semiconductor / Motorola, AN2504 Datasheet - Page 12

no-image

AN2504

Manufacturer Part Number
AN2504
Description
On-Chip FLASH Programming API for CodeWarrior Software
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2504/D
ErasePageX
EraseFlash
12
On-Chip FLASH Programming API for CodeWarrior Software
ErasePageX is the enhanced version of ErasePage. It erases a PAGE of
FLASH.
EraseFlash erases the entire FLASH.
Freescale Semiconductor, Inc.
Entry Conditions
Entry Conditions
Exit Conditions
Exit Conditions
For More Information On This Product,
Return value
Return value
Parameters
Parameters
Prototype
Prototype
Remarks
Remarks
Go to: www.freescale.com
_page: the absolute address of any of the locations
None
None
None
All bytes within that PAGE will be driven to 0xFF.
Interrupts are disabled during the erasing of the FLASH,
None
None
None
None
All bytes will be driven to 0xFF. No code in FLASH will be
within the PAGE to be erased.
but are restored to their original states before exiting
the function.
executed after this function has been called.
Table 12. ErasePageX
Table 13. EraseFlash
void ErasePageX (Word *_page)
void EraseFlash (void)
MOTOROLA

Related parts for AN2504