The MCUXpresso SDK provides a peripheral driver for the System Integration Module (SIM) of MCUXpresso SDK devices.
Enumerator |
---|
kSIM_UsbVoltRegEnable |
Enable voltage regulator.
|
kSIM_UsbVoltRegEnableInLowPower |
Enable voltage regulator in VLPR/VLPW modes.
|
kSIM_UsbVoltRegEnableInStop |
Enable voltage regulator in STOP/VLPS/LLS/VLLS modes.
|
kSIM_UsbVoltRegEnableInAllModes |
Enable voltage regulator in all power modes.
|
Enumerator |
---|
kSIM_FlashDisableInWait |
Disable flash in wait mode.
|
kSIM_FlashDisable |
Disable flash in normal mode.
|
void SIM_SetUsbVoltRegulatorEnableMode |
( |
uint32_t |
mask | ) |
|
This function configures whether the USB voltage regulator is enabled in normal RUN mode, STOP/VLPS/LLS/VLLS modes, and VLPR/VLPW modes. The configurations are passed in as mask value of _sim_usb_volt_reg_enable_mode. For example, to enable USB voltage regulator in RUN/VLPR/VLPW modes and disable in STOP/VLPS/LLS/VLLS mode, use:
SIM_SetUsbVoltRegulatorEnableMode(kSIM_UsbVoltRegEnable | kSIM_UsbVoltRegEnableInLowPower);
- Parameters
-
mask | USB voltage regulator enable setting. |
- Parameters
-
uid | Pointer to the structure to save the UID value. |
static void SIM_SetFlashMode |
( |
uint8_t |
mode | ) |
|
|
inlinestatic |