FSVol_Rd()

void  FSVol_Rd (CPU_CHAR    *name_vol,
                void        *p_dest,
                FS_SEC_NBR   start,
                FS_SEC_QTY   cnt,
                FS_ERR      *p_err);

File

Called from

Code enabled by

fs_vol.c

Application

N/A

Read data from volume sector(s).

Arguments

name_vol

Volume name.

p_dest

Pointer to destination buffer.

start

Start sector of read.

cnt

Number of sectors to read

p_err

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

FS_ERR_NONE

Sector(s) read.

FS_ERR_DEV

Device access error.

FS_ERR_NAME_NULL

Argument name_vol passed a NULL pointer.

FS_ERR_NULL_PTR

Argument p_dest 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.

Required Configuration

None.

Notes/Warnings

None.