MCUXpresso SDK API Reference Manual  Rev. 0
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_t
 Unique ID. More...
 
struct  sim_rf_addr_t
 RF Mac Address. 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...
 
void SIM_GetRfAddr (sim_rf_addr_t *info)
 Gets the RF address register value. More...
 
static void SIM_EnableSystickClock (bool enable)
 Enable the Systick clock or not. More...
 

Driver version

#define FSL_SIM_DRIVER_VERSION   (MAKE_VERSION(2, 0, 0))
 Driver version 2.0.0.
 

Data Structure Documentation

struct sim_uid_t

Data Fields

uint32_t M
 SIM_UIDM. More...
 
uint32_t L
 UIDL. More...
 

Field Documentation

uint32_t sim_uid_t::M
uint32_t sim_uid_t::L
struct sim_rf_addr_t

Data Fields

uint32_t rfAddrL
 RFADDRL. More...
 
uint32_t rfAddrH
 RFADDRH. More...
 

Field Documentation

uint32_t sim_rf_addr_t::rfAddrL
uint32_t sim_rf_addr_t::rfAddrH

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.
void SIM_GetRfAddr ( sim_rf_addr_t info)
Parameters
infoPointer to the structure to save the RF address value.
static void SIM_EnableSystickClock ( bool  enable)
inlinestatic

The Systick clock is enabled by default.

Parameters
enableThe switcher for Systick clock.