Versions Compared

Key

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


...

Code Block
void  FSDev_Rd (CPU_CHAR    *name_dev,

...


                void        *p_dest,

...


                FS_SEC_NBR   start,D

...


                FS_SEC_QTY

...

   cnt,
                FS_ERR      *p_err);

...

Plain_Table
HTML Table
summaryclass
Table Row (tr)
Table Cell (td)
Anchor
11103751110375


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 Anchor10926871092687Raw Device I/O.

Arguments

name_dev Anchor11414561141456

Device name.

Anchor11039671103967p_dest Anchor11414631141463

Pointer to destination buffer.

...

1092690start Anchor11414701141470

Start sector of read.

...

cnt Anchor11414771141477

Number of sectors to read

Anchor10926921092692p_err Anchor11414841141484

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

...

...

classWebWorks_Indent_1

...

FS_ERR_NONE

...

...

Sector(s) read.

...

...

FS_ERR_NAME_NULL

...

classWebWorks_Indent_2

...

Argument name_dev passed a NULL pointer.

...

...

FS_ERR_NULL_PTR

...

classWebWorks_Indent_2

...

Argument p_dest passed a NULL pointer.

...

Or device access error (see

...

µC/FS Error Codes).

...

...

Returned Value

Anchor10926981092698None. Anchor11003931100393

Notes/Warnings

...

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