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

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)
 

Field Documentation

◆ driver

const mtd_desc_t* mtd_dev_t::driver

MTD driver.

Definition at line 113 of file mtd.h.

◆ page_size

uint32_t mtd_dev_t::page_size

Size of the pages in the MTD.

Definition at line 116 of file mtd.h.

◆ pages_per_sector

uint32_t mtd_dev_t::pages_per_sector

Number of pages per sector in the MTD.

Definition at line 115 of file mtd.h.

◆ sector_count

uint32_t mtd_dev_t::sector_count

Number of sector in the MTD.

Definition at line 114 of file mtd.h.

◆ work_area

void* mtd_dev_t::work_area

sector-sized buffer (only present when mtd_write_page is enabled)

Definition at line 119 of file mtd.h.

◆ write_size

uint32_t mtd_dev_t::write_size

Minimum size and alignment of writes to the device.

Definition at line 117 of file mtd.h.


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