Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

...

10940371094037Reads data from volume sector(s). Anchor11055591105559

Arguments

Anchor10940401094040name_vol Anchor11440461144046

Volume name.

...

11042051104205p_dest Anchor11440531144053

Pointer to destination buffer.

...

10940431094043startanchor11440601144060

Start sector of read.

Anchor10940441094044cnt Anchor11440671144067

Number of sectors to read

...

10940451094045p_err Anchor11440741144074

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

...

...

FS_ERR_NONE

...

classWebWorks_Indent_2

...

Sector(s) read.

...

...

FS_ERR_DEV

...

classWebWorks_Indent_2

...

...

Device access error.

...

classWebWorks_Indent_1

...

...

FS_ERR_NAME_NULL

...

classWebWorks_Indent_2

...

Argument name_vol passed a NULL pointer.

...

classWebWorks_Indent_1

...

...

FS_ERR_NULL_PTR

...

classWebWorks_Indent_2

...

Argument p_dest passed a NULL pointer.

...

classWebWorks_Indent_1

...

FS_ERR_VOL_NOT_MOUNTED

...

classWebWorks_Indent_2

...

Volume is not mounted.

...

...

classWebWorks_Indent_1

...

FS_ERR_VOL_NOT_OPEN

...

...

classWebWorks_Indent_2

...

Volume is not open.

...

...

Returned Value

Anchor10940531094053None. Anchor10940541094054

Required Configuration

...

10940551094055None. Anchor11009451100945

Notes/Warnings

...

None.