![]() |
MCUXpresso SDK API Reference Manual
Rev. 0
NXP Semiconductors
|
Files | |
file | fsl_iap.h |
Driver version | |
#define | FSL_IAP_DRIVER_VERSION (MAKE_VERSION(2, 0, 3)) |
Version 2.0.3. More... | |
Basic operations | |
status_t | IAP_ReadPartID (uint32_t *partID) |
brief Read part identification number. More... | |
status_t | IAP_ReadBootCodeVersion (uint32_t *bootCodeVersion) |
brief Read boot code version number. More... | |
void | IAP_ReinvokeISP (uint8_t ispType, uint32_t *status) |
brief Reinvoke ISP. More... | |
status_t | IAP_ReadUniqueID (uint32_t *uniqueID) |
brief Read unique identification. More... | |
#define FSL_IAP_DRIVER_VERSION (MAKE_VERSION(2, 0, 3)) |
enum _iap_status |
enum _iap_commands |
status_t IAP_ReadPartID | ( | uint32_t * | partID | ) |
This function is used to read the part identification number.
param partID Address to store the part identification number.
retval kStatus_IAP_Success Api has been executed successfully.
status_t IAP_ReadBootCodeVersion | ( | uint32_t * | bootCodeVersion | ) |
This function is used to read the boot code version number.
param bootCodeVersion Address to store the boot code version.
retval kStatus_IAP_Success Api has been executed successfully.
note Boot code version is two 32-bit words. Word 0 is the major version, word 1 is the minor version.
void IAP_ReinvokeISP | ( | uint8_t | ispType, |
uint32_t * | status | ||
) |
This function is used to invoke the boot loader in ISP mode. It maps boot vectors and configures the peripherals for ISP.
param ispTyoe ISP type selection. param status store the possible status.
retval kStatus_IAP_ReinvokeISPConfig reinvoke configuration error.
note The error response will be returned when IAP is disabled or an invalid ISP type selection appears. The call won't return unless an error occurs, so there can be no status code.
status_t IAP_ReadUniqueID | ( | uint32_t * | uniqueID | ) |
This function is used to read the unique id.
param uniqueID store the uniqueID.
retval kStatus_IAP_Success Api has been executed successfully.