...
void FSDev_NOR_PhyRd (CPU_CHAR *name_dev,
...
void *p_dest,
...
CPU_INT32U start,
...
CPU_INT32U cnt,
...
FS_ERR *p_err);
...
File |
...
...
Called from |
...
Code enabled by |
...
...
|
...
...
Application |
...
...
N/A |
Anchor
Arguments
Anchor
name_dev
Device name (see Note).
Anchor
p_dest
anchorPointer to destination buffer.
...
start
1189371 Anchor
Start address of read (relative to start of device).
...
cnt
Number of octets to read.
Anchor
p_err
Pointer to variable that will the receive return error code from this function:
...
...
FS_ERR_NONE
...
...
Octets read successfully.
...
class | WebWorks_Indent_1 |
---|
...
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.
...
class | WebWorks_Indent_1 |
---|
...
FS_ERR_DEV_INVALID
...
class | WebWorks_Indent_2 |
---|
...
Argument name_dev
specifies an invalid device.
...
class | WebWorks_Indent_1 |
---|
...
FS_ERR_DEV_NOT_OPEN
...
...
Device is not open.
...
class | WebWorks_Indent_1 |
---|
...
...
FS_ERR_DEV_NOT_PRESENT
...
class | WebWorks_Indent_2 |
---|
...
Device is not present.
...
...
FS_ERR_DEV_INVALID_LOW_FMT
...
class | WebWorks_Indent_2 |
---|
...
Device needs to be low-level formatted.
...
class | WebWorks_Indent_1 |
---|
...
...
FS_ERR_DEV_IO
...
class | WebWorks_Indent_2 |
---|
...
Device I/O error.
...
...
class | WebWorks_Indent_1 |
---|
...
FS_ERR_DEV_TIMEOUT
...
class | WebWorks_Indent_2 |
---|
...
Device timeout.
...
...
Returned Value
Anchor
Notes/Warnings
...
The device must be a NOR device (e.g., “nor“nor:0:
”).