|
enum | _sim_reset_status_flags {
kSIM_PowerONResetFlag = SIM_RSTAT_POR_MASK,
kSIM_ExternalResetFlag = SIM_RSTAT_EXTR_MASK,
kSIM_COPLossOfReferenceResetFlag,
kSIM_COPCPUTimeOutResetFlag = SIM_RSTAT_COP_CPU_MASK,
kSIM_SofwareResetFlag = SIM_RSTAT_SWR_MASK,
kSIM_COPWindowTimeOutResetFlag = SIM_RSTAT_COP_WIN_MASK
} |
| The enumeration of system reset status flags, such as power on reset, software reset, etc. More...
|
|
enum | sim_stop_mode_operation_t {
kSIM_STOPInstrutionEnterStopMode = 0U,
kSIM_STOPInstrutionNotEnterStopMode = 1U,
kSIM_STOPInstrutionEnterStopModeWriteProtect = 2U,
kSIM_STOPInstructionNotEnterStopModeWriteProtect = 3U
} |
| The enumeration of stop mode operation can be used to enable/disable stop mode enter. More...
|
|
enum | sim_wait_mode_operation_t {
kSIM_WAITInstrutionEnterWaitMode = 0U,
kSIM_WAITInstrutionNotEnterWaitMode = 1U,
kSIM_WAITInstrutionEnterWaitModeWriteProtect = 2U,
kSIM_WAITInstructionNotEnterWaitModeWriteProtect = 3U
} |
| The enumeration of wait mode operation can be used to enable/disable wait mode enter. More...
|
|
enum | sim_onceclk_operation_mode_t {
kSIM_OnCEClkEnabledWhenCoreTapEnabled = 0U,
kSIM_OnCEClkAlwaysEnabled = 1U
} |
| The enumeration of OnCE clock operation mode, such as enabled when core TAP is enabled and always enabled. More...
|
|
enum | sim_dma_operation_mode_t {
kSIM_DMADisable = 0U,
kSIM_DMAEnableAtRunModeOnly = 1U,
kSIM_DMAEnableAtRunModeWaitMode = 2U,
kSIM_DMAEnableAtAllPowerModes = 3U,
kSIM_DMADisableWriteProtect = 4U,
kSIM_DMAEnableAtRunModeOnlyWriteProtect = 5U,
kSIM_DMAEnableAtRunModeWaitModeWriteProtect = 6U,
kSIM_DMAEnableAtAllPowerModesWriteProtect = 7U
} |
| The enumeration of dma operation mode, this enumeration can be used to disable/enable DMA module in different power modes. More...
|
|
enum | sim_small_regulator_1P2V_control_mode_t {
kSIM_SmallRegulator1P2VInNormalMode = 0U,
kSIM_SmallRegulator1P2VInStandbyMode = 1U,
kSIM_SmallRegulator1P2VInNormalModeWriteProtect = 2U,
kSIM_SmallRegulator1P2VInStandbyModeWriteProtect = 3U
} |
| The enumeration of small regualtor 1P2V control mode, such as normal mode and standby mode. More...
|
|
enum | sim_small_regulator_2P7V_control_mode_t {
kSIM_SmallRegulator2P7VInNormalMode = 0U,
kSIM_SmallRegulator2P7VInStandbyMode = 1U,
kSIM_SmallRegulator2P7VInPowerdownMode = 4U,
kSIM_SmallRegulator2P7VInNormalModeWriteProtect = 2U,
kSIM_SmallRegulator2P7VInStandbyModeWriteProtect = 3U,
kSIM_SmallRegulator2P7VInPowerdownModeWriteProtect = 0xCU
} |
| The enumeration of small regulator 2P7V control mode, such as normal mode, standby mode, powerdown mode, etc. More...
|
|
enum | sim_large_regulator_control_mode_t {
kSIM_LargeRegulatorInNormalMode = 0U,
kSIM_LargeRegulatorInStandbyMode = 1U,
kSIM_LargeRegulatorInNormalModeWriteProtect = 2U,
kSIM_LargeRegulatorInStandbyModeWriteProtect = 3U
} |
| The enumeration of large regulator contorl mode, such as normal mode, standby mode. More...
|
|
enum | sim_write_protection_module_t {
kSIM_GPIOInternalPeripheralSelectProtection = 0U,
kSIM_PeripheralClockEnableProtection = 2U,
kSIM_GPIOPortDProtection = 4U,
kSIM_PowerModeControlWriteProtection = 6U
} |
| The enumeration of modules that support various protection mode. More...
|
|
enum | sim_write_protection_mode_t {
kSIM_WriteProtectionOff = 0U,
kSIM_WriteProtectionOn = 1U,
kSIM_WriteProtectionOffAndLocked = 2U,
kSIM_WriteProtectionOnAndLocked = 3U
} |
| The enumeration of write protection mode, such as write protection off, write protection on, etc. More...
|
|
enum | sim_lpi2c_trigger_selection_t {
kSIM_Lpi2cSlaveTrigger = 0U,
kSIM_Lpi2cMasterTrigger = 1U
} |
| The enumeration of lpi2c trigger selection, including slave trigger and master trigger. More...
|
|
enum | sim_device_operate_mode_t {
kSIM_NormalOperateMode = 0U,
kSIM_FastOperateMode = 1U
} |
| The enumeration of device operate mode, including normal mode and fast mode. More...
|
|
enum | sim_master_pit_selection_t {
kSIM_PIT0MasterPIT1Slave = 0U,
kSIM_PIT1MasterPIT0Slave = 1U
} |
| The enumeration of master pit. More...
|
|
enum | sim_xbar_input_t {
kSIM_XBARInput2 = 0U,
kSIM_XBARInput3 = 1U,
kSIM_XBARInput4 = 2U,
kSIM_XBARInput5 = 3U,
kSIM_XBARInput6 = 4U,
kSIM_XBARInput7 = 5U,
kSIM_XBARInput8 = 6U,
kSIM_XBARInput9 = 7U
} |
| The enumeration of XBAR input. More...
|
|
enum | sim_xbar_filter_count_t {
kSIM_XBARFilter3Count = 0U,
kSIM_XBARFilter4Count = 1U,
kSIM_XBARFilter5Count = 2U,
kSIM_XBARFilter6Count = 3U,
kSIM_XBARFilter7Count = 4U,
kSIM_XBARFilter8Count = 5U,
kSIM_XBARFilter9Count = 6U,
kSIM_XBARFilter10Count = 7U
} |
| The enumeration of XBAR filter count. More...
|
|
|
static void | SIM_SetWaitModeOperation (SIM_Type *base, sim_wait_mode_operation_t eOperation) |
| Sets the operation of wait mode, enable/disable the entry of wait mode. More...
|
|
static void | SIM_SetStopModeOperation (SIM_Type *base, sim_stop_mode_operation_t eOperation) |
| Sets the operation of stop mode, enable/disable the entry of stop mode. More...
|
|
static void | SIM_EnterLPMode (SIM_Type *base) |
| Enters into LPMode when the advanced power mode is enabled(register FOPT[1] bit is set). More...
|
|
static void | SIM_ExitLPMode (SIM_Type *base) |
| Exits from LPMode when the advanced power mode is enabled(register FOPT[1] bit is set). More...
|
|
static void | SIM_EnterVLPMode (SIM_Type *base) |
| Enters into VLPMode when the advanced power mode is enabled(register FOPT[1] bit is set). More...
|
|
static void | SIM_ExitVLPMode (SIM_Type *base) |
| Exits from VLPMode when the advanced power mode is enabled(register FOPT[1] bit is set). More...
|
|
static bool | SIM_IsInLPMode (SIM_Type *base) |
| Indicates whether the chip is in LPMode when the advanced power mode is enabled(register FOPT[1] bit is set). More...
|
|
static bool | SIM_IsInVLPMode (SIM_Type *base) |
| Indicates whether the chip is in VLPMode when the advanced power mode is enabled(register FOPT[1] bit is set). More...
|
|
|
static void | SIM_SetSmallRegulator1P2VControlMode (SIM_Type *base, sim_small_regulator_1P2V_control_mode_t eControlMode) |
| Sets the control mode of small regulator 1.2V supply, the available control modes are normal mode, standby mode, etc. More...
|
|
static void | SIM_SetSmallRegulator2P7VControlMode (SIM_Type *base, sim_small_regulator_2P7V_control_mode_t eControlMode) |
| Sets the control mode of small regulator 2.7 supply, the available control modes are normal mode, standby mode, etc. More...
|
|
static void | SIM_SetLargeRegulatorControlMode (SIM_Type *base, sim_large_regulator_control_mode_t eControlMode) |
| Sets the control mode of large regulator, the available control mode are normal mode, standby mode, etc. More...
|
|
|
static void | SIM_SetOnCEClockOperationMode (SIM_Type *base, sim_onceclk_operation_mode_t eOperationMode) |
| Sets the operation mode of the OnCE clock, the available operation modes are always enabled and enabled when the core TAP is enabled. More...
|
|
static void | SIM_SetDMAOperationMode (SIM_Type *base, sim_dma_operation_mode_t eOperationMode) |
| Sets the operation mode of DMA, such as disabled, enabled in run mode only, etc. More...
|
|
static void | SIM_SetLPI2C0TriggerSelection (SIM_Type *base, sim_lpi2c_trigger_selection_t eTriggerSelection) |
| Sets the trigger selection of lpi2c0, the available selections are master trigger and slave trigger. More...
|
|
static sim_device_operate_mode_t | SIM_GetDeviceOperateMode (SIM_Type *base) |
| Gets device currently operate mode, the possible result is normal operate mode or fast operate mode. More...
|
|
static void | SIM_EnableADCScanControlReorder (SIM_Type *base, bool bEnable) |
| Enables/Disables the ADC scan control register reorder feature. More...
|
|
static void | SIM_SetMasterPIT (SIM_Type *base, sim_master_pit_selection_t eMasterPit) |
| Sets master programmable interval timer. More...
|
|