dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pios_flash_chip Struct Reference

#include <pios_flash_priv.h>

Data Fields

const struct pios_flash_driverdriver
 
uintptr_t * chip_id
 
uint32_t page_size
 
const struct
pios_flash_sector_range
sector_blocks
 
uint32_t num_blocks
 

Detailed Description

Describes all of the attributes of a single, physical flash device.

driver provides all of the functions to allow access to the device. chip_id points to the run-time context for this device after it has been initialized. page_size is the largest unit that can be written in a single write request. These pages are aligned to the start of a sector and the entire write operation must be within a single page. sector_blocks points to an array of blocks of sector ranges. This is effectively a run-length-encoded list of all sectors grouped by sector size num_blocks is the number of elements in the sector_blocks array

Definition at line 66 of file pios_flash_priv.h.


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