Versions Compared

Key

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

...

void  FSDev_Rd (CPU_CHAR    *name_dev,

...

                void        *p_dest,

...

                FS_SEC_NBR   start,D

...

                FS_SEC_QTY   cnt,

...

                FS_ERR      *p_err);

...

File

...

Called from

...

Code enabled by

...

fs_dev.c

...

Application

...

N/A

...

Read data from device sector(s). See also section 7-4 “Raw Device IO” on page 94. Anchor11049951104995

Arguments

...

name_dev Anchor11414561141456

Device name.

...

1103967p_dest Anchor11414631141463

Pointer to destination buffer.

...

start Anchor11414701141470

Start sector of read.

...

cnt Anchor11414771141477

Number of sectors to read

...

1092692p_err Anchor11414841141484

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

...

classWebWorks_Indent_1

...

FS_ERR_NONE

...

classWebWorks_Indent_2

...

Sector(s) read.

...

classWebWorks_Indent_1

...

FS_ERR_NAME_NULL

...

classWebWorks_Indent_2

...

...

Argument name_dev passed a NULL pointer.

...

classWebWorks_Indent_1

...

FS_ERR_NULL_PTR

...

classWebWorks_Indent_2

...

Argument p_dest passed a NULL pointer.

...


Or device access error (see section B-4 “Device Error Codes”

...

).

...

Returned Value

...

None. Anchor11003931100393

Notes/Warnings

...

Device state change will result from device I/O, not present or timeout error.