...
Code Block | ||
---|---|---|
| ||
void FSDev_Wr (CPU_CHAR *name_dev, |
...
void *p_src, |
...
FS_SEC_NBR |
...
start, FS_SEC_QTY |
...
cnt, FS_ERR *p_err); |
...
HTML Table | |
---|---|
summary | |
class | Plain_Table | Table Row (tr) | Table Cell (td) | Anchor | | 1110416 | 1110416
File |
---|
...
...
Called from |
---|
...
Code enabled by |
---|
...
...
|
...
Application |
...
not |
...
Write data to device sector(s). See also section 7-4 “Raw Device IO” on page 94. Anchor
Arguments
name_dev
Anchor
Device name.
...
p_src
Pointer to source buffer.
...
start
Start sector of write.
...
cnt
anchor
Number of sectors to write
...
p_err
1141589 Anchor
Pointer to variable that will receive the return error code from this function
...
class | WebWorks_Indent_1 |
---|
...
...
FS_ERR_NONE
...
...
class | WebWorks_Indent_2 |
---|
...
Sector(s) written.
...
class | WebWorks_Indent_1 |
---|
...
...
FS_ERR_NAME_NULL
...
...
Argument name_dev
passed a NULL pointer.
...
...
FS_ERR_NULL_PTR
...
class | WebWorks_Indent_2 |
---|
...
Argument p_src
passed a NULL pointer.
...
Or device access error (
...
see µC/FS Error Codes).
Returned Value
None.
Notes/Warnings
...
- Device state change will result from device I/O, not present or timeout error.