MTD device descriptor. More...
MTD device descriptor.
See the module level documentation for details on the field semantics.
#include <mtd.h>
Data Fields | |
const mtd_desc_t * | driver |
MTD driver. | |
uint32_t | sector_count |
Number of sector in the MTD. | |
uint32_t | pages_per_sector |
Number of pages per sector in the MTD. | |
uint32_t | page_size |
Size of the pages in the MTD. | |
uint32_t | write_size |
Minimum size and alignment of writes to the device. | |
void * | work_area |
sector-sized buffer (only present when mtd_write_page is enabled) | |