...
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); |
...
HTML Table | |||||||
---|---|---|---|---|---|---|---|
summary | class | Plain_Table Table Row (tr) | Table Cell (td) | Anchor | | 1110375 | 1110375 |
File |
---|
...
...
Called from |
---|
...
Code enabled by |
---|
...
...
|
...
Application |
...
N/A |
...
Read data from device sector(s). See also section 7-4 “Raw Device IO” on page 94. Anchor
Arguments
name_dev
Anchor
Device name.
Anchor
p_dest
Pointer to destination buffer.
...
start
Start sector of read.
...
cnt
Anchor
Number of sectors to read
Anchor
p_err
Pointer to variable that will receive the return error code from this function
...
...
class | WebWorks_Indent_1 |
---|
...
FS_ERR_NONE
...
...
Sector(s) read.
...
...
FS_ERR_NAME_NULL
...
class | WebWorks_Indent_2 |
---|
...
Argument name_dev
passed a NULL pointer.
...
...
FS_ERR_NULL_PTR
...
class | WebWorks_Indent_2 |
---|
...
Argument p_dest
passed a NULL pointer.
...
Or device access error (see
...
...
...
Returned Value
Anchor
Notes/Warnings
...
- Device state change will result from device I/O, not present or timeout error.