<< Previous | Next >> | |
|
int flash_erasesector( FlashDescriptor * fd, word which );
Description
- Erases a sector of a flash memory chip.
NOTE fd
must have already been initialized withflash_init
before calling this function. Seeflash_init
description for further restrictions.Parameters
- fd
- Pointer to flash descriptor of the chip to erase a sector of.
- which
- The sector to erase.
Return value
0
: Success.Library
- FLASH.LIB
See also
- flash_erasechip, flash_gettype, flash_init, flash_read, flash_readsector, flash_sector2xwindow, flash_writesector
Dynamic C Functions | << Previous | Next >> | rabbit.com |