<< Previous | Next >>

flash_erasesector

int flash_erasesector( FlashDescriptor * fd, word which );

Description

Erases a sector of a flash memory chip.

NOTE fd must have already been initialized with flash_init before calling this function. See flash_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