Rd() - NOR Flash Driver

void  Rd (FS_DEV_NOR_PHY_DATA  *p_phy_data,
          void                 *p_dest,
          CPU_INT32U            start,
          CPU_INT32U            cnt,
          FS_ERR               *p_err);

File

Called from

Code enabled by

NOR physical-layer driver

FSDev_NOR_PhyRdHandler()

N/A

Read from a NOR device and store data in buffer.

Arguments

p_phy_data

Pointer to NOR phy data.

p_dest

Pointer to destination buffer.

start

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

cnt

Number of octets to read.

p_err

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

FS_ERR_NONE

Octets read successfully.

FS_ERR_DEV_IO

Device I/O error.

FS_ERR_DEV_TIMEOUT

Device timeout error.

Returned Value

None.

Notes/Warnings

None.