Driver for internal flash devices implementing flashpage interface. More...

Detailed Description

Driver for internal flash devices implementing flashpage interface.

Files

file  mtd_flashpage.h
 Interface definition for the flashpage memory driver.
 

Macros

#define MTD_FLASHPAGE_INIT_VAL(_pages_per_sector)
 Macro helper to initialize a mtd_t with flash-age driver. More...
 

Variables

const mtd_desc_t mtd_flashpage_driver
 Flashpage MTD device operations table.
 

Macro Definition Documentation

◆ MTD_FLASHPAGE_INIT_VAL

#define MTD_FLASHPAGE_INIT_VAL (   _pages_per_sector)
Value:
{ \
.driver = &mtd_flashpage_driver, \
.sector_count = FLASHPAGE_NUMOF, \
.pages_per_sector = _pages_per_sector,\
.page_size = FLASHPAGE_SIZE / _pages_per_sector,\
}
#define FLASHPAGE_SIZE
Flash page configuration.
Definition: cpu_conf.h:44
const mtd_desc_t mtd_flashpage_driver
Flashpage MTD device operations table.

Macro helper to initialize a mtd_t with flash-age driver.

Definition at line 36 of file mtd_flashpage.h.