IO_Ctrl() - NOR Flash Driver
void IO_Ctrl (FS_DEV_NOR_PHY_DATA *p_phy_data,
CPU_INT08U opt,
void *p_data,
FS_ERR *p_err);
File | Called from | Code enabled by |
---|---|---|
NOR physical-layer driver | various | N/A |
Perform NOR device I/O control operation.
Arguments
p_phy_data
Pointer to NOR phy data.
opt
Control command.
p_data
Buffer which holds data to be used for operation.
OR
Buffer in which data will be stored as a result of operation.
p_err
Pointer to variable that will receive the return error code from this function.
FS_ERR_NONE
Control operation performed successfully.
FS_ERR_DEV_INVALID_IO_CTRL I/O
Control unknown to driver.
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.