Wr() - NOR Flash Driver

void  Wr (FS_DEV_NOR_PHY_DATA  *p_phy_data,
          void                 *p_src,
          CPU_INT32U            start,
          CPU_INT32U            cnt,
          FS_ERR               *p_err);

File

Called from

Code enabled by

NOR physical-layer driver

FSDev_NOR_PhyWrHandler()

N/A

Write to a NOR device from a buffer.

Arguments

p_phy_data

Pointer to NOR phy data.

p_src

Pointer to source buffer.

start

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

cnt

Number of octets to write.

p_err

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

FS_ERR_NONE

Octets written successfully.

FS_ERR_DEV_IO

Device I/O error.

FS_ERR_DEV_TIMEOUT

Device timeout error.

Returned Value

None.

Notes/Warnings

None.