Versions Compared

Key

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


...

Code Block
languagecpp
void  FSDev_Wr (CPU_CHAR    *name_dev,

...


                void        *p_src,

...


                FS_SEC_NBR

...

   start,
                FS_SEC_QTY

...

   cnt,
                FS_ERR      *p_err);

...

1110416
HTML Table
summary
classPlain_Table
Table Row (tr)
Table Cell (td)
Anchor
1110416


File

...

...

Called from

...

Code enabled by

...

...

fs_dev.c

...

Application

...

not FS_CFG_RD_ONLY_EN

...

Write data to device sector(s). See also section 7-4 “Raw Device IO” on page 94. Anchor11050191105019 Arguments Anchor10927371092737Raw Device I/O.

Arguments

name_dev Anchor11415611141561

Device name.

...

11039741103974p_src Anchor11415681141568

Pointer to source buffer.

...

1092740start Anchor11415751141575

Start sector of write.

...

cntanchor11415821141582

Number of sectors to write

...

p_err Anchor11415891141589

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

...

classWebWorks_Indent_1

...

...

FS_ERR_NONE

...

...

classWebWorks_Indent_2

...

Sector(s) written.

...

classWebWorks_Indent_1

...

...

FS_ERR_NAME_NULL

...

...

Argument name_dev passed a NULL pointer.

...

...

FS_ERR_NULL_PTR

...

classWebWorks_Indent_2

...

Argument p_src passed a NULL pointer.

...

Or device access error (

...

see µC/FS Error Codes).

Returned Value

None.

Notes/Warnings

...

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