MCUXpresso SDK API Reference Manual
Rev. 0
NXP Semiconductors
|
Files | |
file | fsl_iap_ffr.h |
Macros | |
#define | ALIGN_DOWN(x, a) ((x) & (uint32_t)(-((int32_t)(a)))) |
Alignment(down) utility. More... | |
#define | ALIGN_UP(x, a) (-((int32_t)((uint32_t)(-((int32_t)(x))) & (uint32_t)(-((int32_t)(a)))))) |
Alignment(up) utility. More... | |
Enumerations | |
enum | _flash_ffr_page_offset { kFfrPageOffset_CFPA = 0, kFfrPageOffset_CFPA_Scratch = 0, kFfrPageOffset_CFPA_Cfg = 1, kFfrPageOffset_CFPA_CfgPong = 2, kFfrPageOffset_CMPA = 3, kFfrPageOffset_CMPA_Cfg = 3, kFfrPageOffset_CMPA_Key = 4, kFfrPageOffset_NMPA = 7, kFfrPageOffset_NMPA_Romcp = 7, kFfrPageOffset_NMPA_Repair = 9, kFfrPageOffset_NMPA_Cfg = 15, kFfrPageOffset_NMPA_End = 16 } |
enum | _flash_ffr_page_num { kFfrPageNum_CFPA = 3, kFfrPageNum_CMPA = 4, kFfrPageNum_NMPA = 10 } |
Functions | |
status_t | FFR_Init (flash_config_t *config) |
Generic APIs for FFR. | |
status_t | FFR_CustomerPagesInit (flash_config_t *config) |
APIs to access CFPA pages. | |
status_t | FFR_GetCustomerInfieldData (flash_config_t *config, uint8_t *pData, uint32_t offset, uint32_t len) |
Read data stored in 'Customer In-field Page'. More... | |
bool | FFR_IsCmpaCfgPageUpdateInProgress (flash_config_t *config) |
APIs to access CMPA pages. | |
status_t | FFR_GetCustomerData (flash_config_t *config, uint8_t *pData, uint32_t offset, uint32_t len) |
Read data stored in 'Customer Factory CFG Page'. More... | |
status_t | FFR_NxpAreaCheckIntegrity (flash_config_t *config) |
APIs to access NMPA pages. | |
status_t | FFR_GetManufactureData (flash_config_t *config, uint8_t *pData, uint32_t offset, uint32_t len) |
Read data stored in 'NXP Manufacuring Programmed CFG Page'. More... | |
Flash IFR version | |
#define | FSL_FLASH_IFR_DRIVER_VERSION (MAKE_VERSION(2, 0, 0)) |
Flash IFR driver version for SDK. More... | |
#define FSL_FLASH_IFR_DRIVER_VERSION (MAKE_VERSION(2, 0, 0)) |
Version 2.0.0.
#define ALIGN_DOWN | ( | x, | |
a | |||
) | ((x) & (uint32_t)(-((int32_t)(a)))) |
#define ALIGN_UP | ( | x, | |
a | |||
) | (-((int32_t)((uint32_t)(-((int32_t)(x))) & (uint32_t)(-((int32_t)(a)))))) |
enum _flash_ffr_page_num |
status_t FFR_GetCustomerInfieldData | ( | flash_config_t * | config, |
uint8_t * | pData, | ||
uint32_t | offset, | ||
uint32_t | len | ||
) |
status_t FFR_GetCustomerData | ( | flash_config_t * | config, |
uint8_t * | pData, | ||
uint32_t | offset, | ||
uint32_t | len | ||
) |
status_t FFR_GetManufactureData | ( | flash_config_t * | config, |
uint8_t * | pData, | ||
uint32_t | offset, | ||
uint32_t | len | ||
) |