MTD device descriptor. More...

Detailed Description

MTD device descriptor.

See the module level documentation for details on the field semantics.

Definition at line 112 of file mtd.h.

#include <mtd.h>

Data Fields

const mtd_desc_tdriver
 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)
 

The documentation for this struct was generated from the following file: