All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

Interface definition for the flashpage memory driver. More...

Detailed Description

Interface definition for the flashpage memory driver.

Author
Vincent Dupont vince.nosp@m.nt@o.nosp@m.takey.nosp@m.s.co.nosp@m.m

Definition in file mtd_flashpage.h.

#include "mtd.h"
#include "periph/flashpage.h"
+ Include dependency graph for 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_tmtd_aux
 Generic MTD device backed by the auxiliary flash slot.