...
void FSDev_NOR_PhyWr (CPU_CHAR *name_dev,
...
void *p_src,
...
CPU_INT32U start,
...
CPU_INT32U cnt,
...
FS_ERR *p_err);
...
...
File |
...
...
Called from |
...
Code enabled by |
...
|
...
Application |
...
N/A |
...
Arguments
...
name_dev
Device name (see Note).
Anchor
p_src
Pointer to source buffer.
...
start
anchor
Start address of write (relative to start of device).
Anchor
cnt
Number of octets to write.
...
p_err
Anchor
Pointer to variable that will the receive return error code from this function:
...
...
FS_ERR_NONE
...
class | WebWorks_Indent_2 |
---|
...
Octets written successfully.
...
class | WebWorks_Indent_1 |
---|
...
FS_ERR_NAME_NULL
...
...
Argument name_dev
passed a NULL pointer.
...
class | WebWorks_Indent_1 |
---|
...
FS_ERR_NULL_PTR
...
class | WebWorks_Indent_2 |
---|
...
Argument p_src
passed a NULL pointer.
...
...
FS_ERR_DEV_INVALID
...
...
Argument name_dev
specifies an invalid device.
...
class | WebWorks_Indent_1 |
---|
...
...
FS_ERR_DEV_NOT_OPEN
...
class | WebWorks_Indent_2 |
---|
...
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
...
nor:0:
”). Anchor
During a program operation, only 1 bits can be changed; a 0 bit cannot be changed to a 1. The application must know that the octets being programmed have not already been programmed.