MCUXpresso SDK API Reference Manual  Rev 2.15.000
NXP Semiconductors
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
SIM: System Integration Module Driver

Overview

The MCUXpresso SDK provides a peripheral driver for the System Integration Module (SIM) of MCUXpresso SDK devices.

Data Structures

struct  _sim_uid
 Unique ID. More...
 

Typedefs

typedef struct _sim_uid sim_uid_t
 Unique ID. More...
 

Enumerations

enum  _sim_flash_mode {
  kSIM_FlashDisableInWait = SIM_FCFG1_FLASHDOZE_MASK,
  kSIM_FlashDisable = SIM_FCFG1_FLASHDIS_MASK
}
 Flash enable mode. More...
 

Functions

void SIM_GetUniqueId (sim_uid_t *uid)
 Gets the unique identification register value. More...
 
static void SIM_SetFlashMode (uint8_t mode)
 Sets the flash enable mode. More...
 
static void SIM_EnableSystickClock (bool enable)
 Enable the Systick clock or not. More...
 

Driver version

#define FSL_SIM_DRIVER_VERSION   (MAKE_VERSION(2, 1, 3))
 Driver version. More...
 

Data Structure Documentation

struct _sim_uid

Data Fields

uint32_t H
 UIDH. More...
 
uint32_t M
 SIM_UIDM. More...
 
uint32_t L
 UIDL. More...
 

Field Documentation

uint32_t _sim_uid::H
uint32_t _sim_uid::M
uint32_t _sim_uid::L

Macro Definition Documentation

#define FSL_SIM_DRIVER_VERSION   (MAKE_VERSION(2, 1, 3))

Typedef Documentation

typedef struct _sim_uid sim_uid_t

Enumeration Type Documentation

Enumerator
kSIM_FlashDisableInWait 

Disable flash in wait mode.

kSIM_FlashDisable 

Disable flash in normal mode.

Function Documentation

void SIM_GetUniqueId ( sim_uid_t uid)
Parameters
uidPointer to the structure to save the UID value.
static void SIM_SetFlashMode ( uint8_t  mode)
inlinestatic
Parameters
modeThe mode to set; see _sim_flash_mode for mode details.
static void SIM_EnableSystickClock ( bool  enable)
inlinestatic

The Systick clock is enabled by default.

Parameters
enableThe switcher for Systick clock.