![]() |
MCUXpresso SDK API Reference Manual
Rev. 0
NXP Semiconductors
|
The MCUXpresso SDK provides a peripheral driver for the System Integration Module (SIM) of MCUXpresso SDK devices.
Data Structures | |
struct | sim_uid_t |
Unique ID. More... | |
Enumerations | |
enum | sim_reset_source_t { kSIM_SourceSackerr = SIM_SRSID_SACKERR_MASK, kSIM_SourceMdmap = SIM_SRSID_MDMAP_MASK, kSIM_SourceSw = SIM_SRSID_SW_MASK, kSIM_SourceLockup = SIM_SRSID_LOCKUP_MASK, kSIM_SourcePor = SIM_SRSID_POR_MASK, kSIM_SourcePin = SIM_SRSID_PIN_MASK, kSIM_SourceWdog = SIM_SRSID_WDOG_MASK, kSIM_SourceLoc = SIM_SRSID_LOC_MASK, kSIM_SourceLvd = SIM_SRSID_LVD_MASK } |
System reset status definitions. More... | |
Functions | |
void | SIM_GetUniqueId (sim_uid_t *uid) |
Gets the unique identification register value. More... | |
static uint32_t | SIM_GetSysResetStatus (void) |
Gets the reset source. More... | |
Driver version | |
#define | FSL_SIM_DRIVER_VERSION (MAKE_VERSION(2, 0, 0)) |
PMC driver version. More... | |
#define FSL_SIM_DRIVER_VERSION (MAKE_VERSION(2, 0, 0)) |
Version 2.0.0.
enum sim_reset_source_t |
void SIM_GetUniqueId | ( | sim_uid_t * | uid | ) |
uid | Pointer to the structure to save the UID value. |
|
inlinestatic |
This function gets the SIM reset source. Use source masks defined in the sim_reset_source_t to get the desired source status.
This is an example.