FreeRTOS: Common I/O
AWS IoT Common I/O library
Return to main page ↑
IotFlashInfo_t Struct Reference

flash information More...

#include <iot_flash.h>

Data Fields

uint32_t ulFlashSize
 
uint32_t ulBlockSize
 
uint32_t ulSectorSize
 
uint32_t ulPageSize
 
uint32_t ulLockSupportSize
 
uint8_t ucAsyncSupported
 

Detailed Description

flash information

Field Documentation

◆ ulFlashSize

uint32_t IotFlashInfo_t::ulFlashSize

flash total size

◆ ulBlockSize

uint32_t IotFlashInfo_t::ulBlockSize

flash device's larger block size in bytes.

◆ ulSectorSize

uint32_t IotFlashInfo_t::ulSectorSize

flash sector size

◆ ulPageSize

uint32_t IotFlashInfo_t::ulPageSize

page size in bytes

◆ ulLockSupportSize

uint32_t IotFlashInfo_t::ulLockSupportSize

Size of the physical block, for which write protection can be applied. for example, if only 64k sectors can be write protected this will be set to 64K, and if sub-sectors of 4k can be write protected then this may be set to 4K

◆ ucAsyncSupported

uint8_t IotFlashInfo_t::ucAsyncSupported

Provides a flag to indicate if background erase/program is supported. User must check this before they can setup a callback and wait.


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