FSVol_Wr()

void  FSVol_Wr (CPU_CHAR    *name_vol,
                void        *p_src,
                FS_SEC_NBR   start,
                FS_SEC_QTY   cnt,
                FS_ERR      *p_err);

File

Called from

Code enabled by

fs_vol.c

Application

not FS_CFG_RD_ONLY_EN

Write data to volume sector(s).

Arguments

name_vol

Volume name.

p_src

Pointer to source buffer.

start

Start sector of write.

cnt

Number of sectors to write

p_err

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

FS_ERR_NONE

Sector(s) written.

FS_ERR_DEV

Device access error.

FS_ERR_NAME_NULL

Argument name_vol passed a NULL pointer.

FS_ERR_NULL_PTR

Argument p_src passed a NULL pointer.

FS_ERR_VOL_NOT_MOUNTED

Volume is not mounted.

FS_ERR_VOL_NOT_OPEN

Volume is not open.

Returned Value

None.

Notes/Warnings

None.