Interface definition for the flashpage memory driver. More...
Interface definition for the flashpage memory driver.
Definition in file mtd_flashpage.h.
Go to the source code of this file.
Data Structures | |
struct | mtd_flashpage_t |
MTD flashpage descriptor. More... | |
Macros | |
#define | MTD_FLASHPAGE_INIT_VAL(_pages_per_sector) |
Macro helper to initialize a mtd_t with flashpage driver. | |
#define | MTD_FLASHPAGE_AUX_INIT_VAL(start, len) |
Macro helper to initialize a mtd_t with a portion of the flash. | |
#define | CONFIG_SLOT_AUX_LEN 0 |
Size of the auxiliary slot on the internal flash Must align with the flash page size. | |
#define | CONFIG_SLOT_AUX_MTD_OFFSET 1 |
Default MTD offset for the AUX slot. | |
Variables | |
const mtd_desc_t | mtd_flashpage_driver |
Flashpage MTD device operations table. | |
mtd_flashpage_t | mtd_flash_aux_slot |
MTD device representing the auxiliary flash slot. | |
mtd_dev_t * | mtd_aux |
Generic MTD device backed by the auxiliary flash slot. | |