unsigned char RawNandFlash_ReadPage (const struct RawNandFlash *raw, unsigned short block, unsigned short page, void *data, void *spare) |
Name | Type | Default | Description |
raw | const struct RawNandFlash * |
Pointer to a RawNandFlash instance. |
|
block | unsigned short |
Number of the block where the page to read resides. |
|
page | unsigned short |
Number of the page to read inside the given block. |
|
data | void * |
Buffer where the data area will be stored. |
|
spare | void * |
Buffer where the spare area will be stored. |
|
Return value | unsigned char |