EraseBlk() - NOR Flash Driver

void  EraseBlk (FS_DEV_NOR_PHY_DATA  *p_phy_data,
                CPU_INT32U            start,
                CPU_INT32U            size,
                FS_ERR               *p_err);

File

Called from

Code enabled by

NOR physical-layer driver

FSDev_NOR_PhyEraseBlkHandler()

N/A

Erase block of NOR device.

Arguments

p_phy_data

Pointer to NOR phy data.

start

Start address of block (relative to start of device).

size

Size of block, in octets

p_err

Pointer to variable that will receive the return error code from this function.

FS_ERR_NONE

Block erased successfully.

FS_ERR_DEV_INVALID_OP

Invalid operation for device.

FS_ERR_DEV_IO

Device I/O error.

FS_ERR_DEV_TIMEOUT

Device timeout error.

Returned Value

None.

Notes/Warnings

None.