ChibiOS
21.6.0
|
Type of a flash device descriptor. More...
#include <hal_flash.h>
Data Fields | |
uint32_t | attributes |
Device_attributes. More... | |
uint32_t | page_size |
Size of write page. More... | |
flash_sector_t | sectors_count |
Number of sectors in the device. More... | |
const flash_sector_descriptor_t * | sectors |
List of sectors for devices with non-uniform sector sizes. More... | |
uint32_t | sectors_size |
Size of sectors for devices with uniform sector size. More... | |
uint8_t * | address |
Flash address if memory mapped or zero. More... | |
uint32_t | size |
Flash size. More... | |
Type of a flash device descriptor.
Definition at line 137 of file hal_flash.h.
uint32_t flash_descriptor_t::attributes |
Device_attributes.
Definition at line 141 of file hal_flash.h.
uint32_t flash_descriptor_t::page_size |
Size of write page.
Definition at line 145 of file hal_flash.h.
flash_sector_t flash_descriptor_t::sectors_count |
Number of sectors in the device.
Definition at line 149 of file hal_flash.h.
const flash_sector_descriptor_t* flash_descriptor_t::sectors |
List of sectors for devices with non-uniform sector sizes.
NULL
then the device has uniform sectors size equal to sector_size
. Definition at line 155 of file hal_flash.h.
Referenced by flashGetSectorOffset(), and flashGetSectorSize().
uint32_t flash_descriptor_t::sectors_size |
Size of sectors for devices with uniform sector size.
sectors
array. Definition at line 161 of file hal_flash.h.
Referenced by flashGetSectorOffset(), and flashGetSectorSize().
uint8_t* flash_descriptor_t::address |
Flash address if memory mapped or zero.
NULL
. Definition at line 166 of file hal_flash.h.
uint32_t flash_descriptor_t::size |
Flash size.
Definition at line 170 of file hal_flash.h.