FSDev_Wr()
void FSDev_Wr (CPU_CHAR *name_dev,
void *p_src,
FS_SEC_NBR start,
FS_SEC_QTY cnt,
FS_ERR *p_err);
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.
Arguments
name_dev
Device name.
p_src
Pointer to source buffer.
start
Start sector of write.
cnt
Number of sectors to write
p_err
Pointer to variable that will receive the return error code from this function
Or device access error (see section B-4 “Device Error Codes” on page 428).
Returned Value
None.
Notes/Warnings
Device state change will result from device I/O, not present or timeout error.