#include "libstoragemedia.h"#include <string.h>#include <assert.h>Go to the source code of this file.
Defines | |
| #define | MODEL(interface) ((struct NandFlashModel *) interface) |
| Casts. | |
| #define | TRANSLATED(interface) ((struct TranslatedNandFlash *) interface) |
| #define | min(a, b) (((a) < (b)) ? (a) : (b)) |
Functions | |
| void | MEDNandFlash_Initialize (sMedia *pMedia, struct TranslatedNandFlash *translated) |
| Initializes a media instance to operate on the given NandFlash device. | |
Implementation of media layer for the NAND flash.
Definition in file MEDNandFlash.c.
| void MEDNandFlash_Initialize | ( | sMedia * | pMedia, | |
| struct TranslatedNandFlash * | translated | |||
| ) |
Initializes a media instance to operate on the given NandFlash device.
| media | Pointer to a Media instance. | |
| tnf | Pointer to the TranslatedNandFlash to use. |
Definition at line 468 of file MEDNandFlash.c.
1.7.1