unsigned char EccNandFlash_WritePage (const struct EccNandFlash *ecc, unsigned short block, unsigned short page, void *data, void *spare) |
Name | Type | Default | Description |
ecc | const struct EccNandFlash * |
Pointer to an EccNandFlash instance. |
|
block | unsigned short |
Number of the block to write in. |
|
page | unsigned short |
Number of the page to write inside the given block. |
|
data | void * |
Data area buffer, can be 0. |
|
spare | void * |
Spare area buffer, can be 0. |
|
Return value | unsigned char |