Infineon MOTIX™ MCU TLE988x/9x Device Family SDK
Macros | Typedefs | Enumerations | Functions | Variables
PMU_api

Detailed Description

Macros

#define PMU_WAKEUPSRC_CAN   PMU_WAKE_CTRL_CAN_WAKE_EN_Msk
 PMU Wake-up source CAN. More...
 
#define PMU_WAKEUPSRC_CYCLICSENSE   (2u)
 PMU Wake-up source cyclic sense. More...
 
#define PMU_WAKEUPSRC_CYCLICWAKE   PMU_WAKE_CTRL_CYC_WAKE_EN_Msk
 PMU Wake-up source cyclic wake. More...
 
#define PMU_WAKEUPSRC_GPIO0   PMU_WAKE_CTRL_GPIO0_WAKE_EN_Msk
 PMU Wake-up source GPIO0. More...
 
#define PMU_WAKEUPSRC_GPIO1   PMU_WAKE_CTRL_GPIO1_WAKE_EN_Msk
 PMU Wake-up source GPIO1. More...
 
#define PMU_WAKEUPSRC_GPIO2   PMU_WAKE_CTRL_GPIO2_WAKE_EN_Msk
 PMU Wake-up source GPIO2. More...
 
#define PMU_WAKEUPSRC_GPIO3   PMU_WAKE_CTRL_GPIO3_WAKE_EN_Msk
 PMU Wake-up source GPIO3. More...
 
#define PMU_WAKEUPSRC_GPIO4   PMU_WAKE_CTRL_GPIO4_WAKE_EN_Msk
 PMU Wake-up source GPIO4. More...
 
#define PMU_WAKEUPSRC_GPIO5   PMU_WAKE_CTRL_GPIO5_WAKE_EN_Msk
 PMU Wake-up source GPIO5. More...
 
#define PMU_WAKEUPSRC_MON1   PMU_WAKE_CTRL_MON0_WAKE_EN_Msk
 PMU Wake-up source MON1. More...
 
#define PMU_WAKEUPSRC_MON2   PMU_WAKE_CTRL_MON1_WAKE_EN_Msk
 PMU Wake-up source MON2. More...
 
#define PMU_WAKEUPSRC_MON3   PMU_WAKE_CTRL_MON2_WAKE_EN_Msk
 PMU Wake-up source MON3. More...
 
#define PMU_WAKEUPSRC_VDDP_UV   PMU_WAKE_CTRL_VDDP_UVWARN_WAKE_EN_Msk
 PMU Wake-up source VDDP UV. More...
 
#define PMU_WAKEUPSRC_VDDP_OV   PMU_WAKE_CTRL_VDDP_OV_WAKE_EN_Msk
 PMU Wake-up source VDP OV. More...
 
#define PMU_WAKEUPSRC_VDDP_HCM   PMU_WAKE_CTRL_VDDP_HCM_WAKE_EN_Msk
 PMU Wake-up source VDDP HCM. More...
 
#define PMU_WAKEUPSRC_VDDC_UV   PMU_WAKE_CTRL_VDDC_UVWARN_WAKE_EN_Msk
 PMU Wake-up source VDDC UV. More...
 
#define PMU_WAKEUPSRC_VDDC_OV   PMU_WAKE_CTRL_VDDC_OV_WAKE_EN_Msk
 PMU Wake-up source VDDC OV. More...
 
#define PMU_WAKEUPSRC_VDDC_HCM   PMU_WAKE_CTRL_VDDC_HCM_WAKE_EN_Msk
 PMU Wake-up source VDDC HCM. More...
 
#define PMU_WAKEUPSRC_VDDEXT_OT   PMU_WAKE_CTRL_VDDEXT_OT_WAKE_EN_Msk
 PMU Wake-up source VDDEXT OT. More...
 
#define PMU_WAKEUPSRC_VDDEXT_UV   PMU_WAKE_CTRL_VDDEXT_UV_WAKE_EN_Msk
 PMU Wake-up source VDDEXT UV. More...
 
#define PMU_WAKEUPSRC_VSD_OV   PMU_WAKE_CTRL_VSDOV_WAKE_EN_Msk
 PMU Wake-up source VSD OV. More...
 
#define PMU_WAKEUPSRC_ALL_SRC   (0x11FF73F7UL)
 PMU Wake-up source all sources. More...
 
#define PMU_WAKEUPSRC_ALLGPIOS   (0x3F0UL)
 PMU Wake-up source all GPIOs. More...
 

Typedefs

typedef enum PMU_gpioInput tPMU_gpioInput
 

Enumerations

enum  PMU_gpioInput {
  PMU_gpioInput_P0_0 = 0u , PMU_gpioInput_P0_1 = 1u , PMU_gpioInput_P0_2 = 2u , PMU_gpioInput_P0_3 = 3u ,
  PMU_gpioInput_P0_4 = 4u , PMU_gpioInput_P0_5 = 5u , PMU_gpioInput_P0_6 = 6u , PMU_gpioInput_P0_7 = 7u ,
  PMU_gpioInput_P0_8 = 8u , PMU_gpioInput_P0_9 = 9u , PMU_gpioInput_P1_0 = 10u , PMU_gpioInput_P1_1 = 11u ,
  PMU_gpioInput_P1_2 = 12u , PMU_gpioInput_P1_3 = 13u , PMU_gpioInput_P1_4 = 14u , PMU_gpioInput_P2_0 = 15u ,
  PMU_gpioInput_P2_1 = 16u , PMU_gpioInput_P2_2 = 17u , PMU_gpioInput_P2_3 = 18u , PMU_gpioInput_P2_4 = 19u ,
  PMU_gpioInput_P2_5 = 20u , PMU_gpioInput_P2_6 = 21u , PMU_gpioInput_P2_7 = 22u , PMU_gpioInput_P2_8 = 23u ,
  PMU_gpioInput_P2_9 = 24u
}
 This enum lists the gpio input pointer. More...
 

Functions

sint8 PMU_init (void)
 Initialize all CW registers of the PMU module. More...
 
void PMU_countFailSafeWatchdog (void)
 Count up since the last watchdog trigger. More...
 
sint8 PMU_initFailSafeWatchdog (void)
 Initialize the fail-safe watchdog. More...
 
void PMU_stopFailSafeWatchdog (void)
 Stop the fail-safe watchdog. More...
 
sint8 PMU_serviceFailSafeWatchdog (void)
 Service the fail-safe watchdog. More...
 
void PMU_clrFailSafeWatchdogFailSts (void)
 Clear the fail-safe watchdog fail status. More...
 
sint8 PMU_serviceFailSafeWatchdogSOW (void)
 Service a Short Open Window for the watchdog. More...
 
INLINE void PMU_enVDDPUndervoltageWarnInt (void)
 Enable VDDP undervoltage warning interrupt. More...
 
INLINE void PMU_enVDDPOvervoltageInt (void)
 Enable VDDP overvoltage interrupt. More...
 
INLINE void PMU_disVDDPUndervoltageWarnInt (void)
 Disable VDDP undervoltage warning interrupt. More...
 
INLINE void PMU_disVDDPOvervoltageInt (void)
 Disable VDDP overvoltage interrupt. More...
 
INLINE uint8 PMU_getVDDPUndervoltageWarnIntSts (void)
 Get VDDP undervoltage warning interrupt status. More...
 
INLINE uint8 PMU_getVDDPOvervoltageIntSts (void)
 Get VDDP overvoltage interrupt status. More...
 
INLINE uint8 PMU_getVDDPUndervoltageWarnSts (void)
 Get VDDP undervoltage warning status. More...
 
INLINE uint8 PMU_getVDDPCurrentLimitSts (void)
 Get VDDP current limitation status. More...
 
INLINE uint8 PMU_getVDDPHighCurrentModeSts (void)
 Get VDDP high current mode status. More...
 
INLINE void PMU_clrVDDPUndervoltageWarnIntSts (void)
 Clear VDDP undervoltage warning interrupt status. More...
 
INLINE void PMU_clrVDDPOvervoltageIntSts (void)
 Clear VDDP overvoltage interrupt status. More...
 
INLINE void PMU_clrVDDPUndervoltageWarnSts (void)
 Clear VDDP undervoltage warning status. More...
 
INLINE void PMU_clrVDDPCurrentLimitSts (void)
 Clear VDDP current limitation status. More...
 
INLINE void PMU_clrVDDPHighCurrentModeSts (void)
 Clear VDDP high current mode status. More...
 
INLINE void PMU_enVDDCUndervoltageWarnInt (void)
 Enable VDDC undervoltage warning interrupt. More...
 
INLINE void PMU_enVDDCOvervoltageInt (void)
 Enable VDDC overvoltage interrupt. More...
 
INLINE void PMU_disVDDCUndervoltageWarnInt (void)
 Disable VDDC undervoltage warning interrupt. More...
 
INLINE void PMU_disVDDCOvervoltageInt (void)
 Disable VDDC overvoltage interrupt. More...
 
INLINE uint8 PMU_getVDDCUndervoltageWarnIntSts (void)
 Get VDDC undervoltage warning interrupt status. More...
 
INLINE uint8 PMU_getVDDCOvervoltageIntSts (void)
 Get VDDC overvoltage interrupt status. More...
 
INLINE uint8 PMU_getVDDCUndervoltageWarnSts (void)
 Get VDDC undervoltage warning status. More...
 
INLINE uint8 PMU_getVDDCHighCurrentModeSts (void)
 Get VDDC high current mode status. More...
 
INLINE void PMU_clrVDDCUndervoltageWarnIntSts (void)
 Clear VDDC undervoltage warning interrupt status. More...
 
INLINE void PMU_clrVDDCOvervoltageIntSts (void)
 Clear VDDC overvoltage interrupt status. More...
 
INLINE void PMU_clrVDDCUndervoltageWarnSts (void)
 Clear VDDC undervoltage warning status. More...
 
INLINE void PMU_clrVDDCHighCurrentModeSts (void)
 Clear VDDC high current mode status. More...
 
INLINE void PMU_enVDDEXTUndervoltageInt (void)
 Enable VDDEXT undervoltage interrupt. More...
 
INLINE void PMU_enVDDEXTOvertemperatureInt (void)
 Enable VDDEXT overtemperature interrupt. More...
 
INLINE void PMU_disVDDEXTUndervoltageInt (void)
 Disable VDDEXT undervoltage interrupt. More...
 
INLINE void PMU_disVDDEXTOvertemperatureInt (void)
 Disable VDDEXT overtemperature interrupt. More...
 
INLINE uint8 PMU_getVDDEXTUndervoltageIntSts (void)
 Get VDDEXT undervoltage interrupt status. More...
 
INLINE uint8 PMU_getVDDEXTOvertemperatureIntSts (void)
 Get VDDEXT overtemperature interrupt status. More...
 
INLINE uint8 PMU_getVDDEXTUndervoltageSts (void)
 Get VDDEXT undervoltage status. More...
 
INLINE uint8 PMU_getVDDEXTOvertemperatureSts (void)
 Get VDDEXT overtemperature status. More...
 
INLINE void PMU_clrVDDEXTUndervoltageIntSts (void)
 Clear VDDEXT undervoltage interrupt status. More...
 
INLINE void PMU_clrVDDEXTOvertemperatureIntSts (void)
 Clear VDDEXT overtemperature interrupt status. More...
 
INLINE void PMU_clrVDDEXTUndervoltageSts (void)
 Clear VDDEXT undervoltage status. More...
 
INLINE void PMU_clrVDDEXTOvertemperatureSts (void)
 Clear VDDEXT overtemperature status. More...
 
INLINE uint8 PMU_getVDDPRegulatorTimeoutSts (void)
 Get VDDP regulator timeout status. More...
 
INLINE uint8 PMU_getVDDCRegulatorTimeoutSts (void)
 Get VDDC regulator timeout status. More...
 
INLINE uint8 PMU_getHPClkFailSts (void)
 Get HP clock fail status. More...
 
INLINE uint8 PMU_getSysOvertemperatureSts (void)
 Get system overtemperature status. More...
 
INLINE uint8 PMU_getSeqWdFailSts (void)
 Get sequential watchdog fail status. More...
 
INLINE uint8 PMU_getVDDPRegulatorOvertemperatureSts (void)
 Get VDDP regulator overtemperature status. More...
 
INLINE uint8 PMU_getVDDCOvercurrentSts (void)
 Get VDDC overcurrent status. More...
 
INLINE void PMU_clrVDDPRegulatorTimeoutSts (void)
 Clear VDDP regulator timeout status. More...
 
INLINE void PMU_clrVDDCRegulatorTimeoutSts (void)
 Clear VDDC regulator timeout status. More...
 
INLINE void PMU_clrHPClkFailSts (void)
 Clear HP clock fail status. More...
 
INLINE void PMU_clrSysOvertemperatureSts (void)
 Clear system overtemperature status. More...
 
INLINE void PMU_clrSeqWdFailSts (void)
 Clear sequential watchdog fail status. More...
 
INLINE void PMU_clrVDDPRegulatorOvertemperatureSts (void)
 Clear VDDP regulator overtemperature status. More...
 
INLINE void PMU_clrVDDCOvercurrentSts (void)
 Clear VDDC overcurrent status. More...
 
INLINE uint8 PMU_getMstrSupplyUndervoltageRstSts (void)
 Get master supply undervoltage reset status. More...
 
INLINE uint8 PMU_getMstrClkWDRstSts (void)
 Get master clock watchdog reset status. More...
 
INLINE uint8 PMU_getFailSleepExitRstSts (void)
 Get fail sleep mode exit reset status. More...
 
INLINE uint8 PMU_getSleepExitRstSts (void)
 Get sleep mode exit reset status. More...
 
INLINE uint8 PMU_getStopExitRstSts (void)
 Get stop mode exit reset status. More...
 
INLINE uint8 PMU_getPinRstSts (void)
 Get pin reset status. More...
 
INLINE uint8 PMU_getFailSafeWDRstSts (void)
 Get fail safe watchdog reset status. More...
 
INLINE uint8 PMU_getWDTimerRstSts (void)
 Get MCU watchdog timer reset status. More...
 
INLINE uint8 PMU_getSoftRstSts (void)
 Get soft reset status. More...
 
INLINE uint8 PMU_getLockupRstSts (void)
 Get ARM core lockup reset status. More...
 
INLINE uint8 PMU_getVDDPUndervoltageRstSts (void)
 Get VDDP undervoltage reset status. More...
 
INLINE uint8 PMU_getVDDCUndervoltageRstSts (void)
 Get VDDC undervoltage reset status. More...
 
INLINE uint8 PMU_getSecureStackOverflowRstSts (void)
 Get secure stack overflow reset status. More...
 
INLINE void PMU_clrMstrSupplyUndervoltageRstSts (void)
 Clear master supply undervoltage reset status. More...
 
INLINE void PMU_clrMstrClkWDRstSts (void)
 Clear master clock watchdog reset status. More...
 
INLINE void PMU_clrFailSleepExitRstSts (void)
 Clear fail sleep mode exit reset status. More...
 
INLINE void PMU_clrSleepExitRstSts (void)
 Clear sleep mode exit reset status. More...
 
INLINE void PMU_clrStopExitRstSts (void)
 Clear stop mode exit reset status. More...
 
INLINE void PMU_clrPinRstSts (void)
 Clear pin reset status. More...
 
INLINE void PMU_clrFailSafeWDRstSts (void)
 Clear fail safe watchdog reset status. More...
 
INLINE void PMU_clrWDTimerRstSts (void)
 Clear MCU watchdog timer reset status. More...
 
INLINE void PMU_clrSoftRstSts (void)
 Clear soft reset status. More...
 
INLINE void PMU_clrLockupRstSts (void)
 Clear ARM core lockup reset status. More...
 
INLINE void PMU_clrVDDPUndervoltageRstSts (void)
 Clear VDDP undervoltage reset status. More...
 
INLINE void PMU_clrVDDCUndervoltageRstSts (void)
 Clear VDDC undervoltage reset status. More...
 
INLINE void PMU_clrSecureStackOverflowRstSts (void)
 Clear secure stack overflow reset status. More...
 
INLINE sint8 PMU_enWakeupSrc (uint32 u32_wakeupSrc)
 Enable a wake-up source. More...
 
INLINE sint8 PMU_disWakeupSrc (uint32 u32_wakeupSrc)
 Disable a wake-up source. More...
 
INLINE uint32 PMU_getWakeupSrc (void)
 Get a wake-up source. More...
 
INLINE void PMU_enStopModeVDDCReduct (void)
 Enable VDDC reduction in Stop Mode. More...
 
INLINE void PMU_disStopModeVDDCReduct (void)
 Disable VDDC reduction in Stop Mode. More...
 
INLINE sint8 PMU_setGPIOWakeCfg (uint8 u8_GPIO, uint8 u8_enRisingEdge, uint8 u8_enFallingEdge, uint8 u8_enCycSen, tPMU_gpioInput e_gpioInput)
 Set a GPIO wake configuration. More...
 
INLINE sint8 PMU_setMONWakeCfg (uint8 u8_MON, uint8 u8_enRisingEdge, uint8 u8_enFallingEdge, uint8 u8_enCycSen, uint8 u8_enPullupCurrSrc, uint8 u8_enPulldownCurrSrc)
 Set a MON wake configuration. More...
 
INLINE uint8 PMU_getMON1InputSts (void)
 Get MON1 input status. More...
 
INLINE uint8 PMU_getMON2InputSts (void)
 Get MON2 input status. More...
 
INLINE uint8 PMU_getMON3InputSts (void)
 Get MON3 input status. More...
 
INLINE uint8 PMU_getCANWakeSts (void)
 Get CAN wake-up status. More...
 
INLINE uint8 PMU_getCyclicWakeSts (void)
 Get cyclic wake-up status. More...
 
INLINE uint8 PMU_getGPIO0WakeSts (void)
 Get GPIO0 wake-up status. More...
 
INLINE uint8 PMU_getGPIO1WakeSts (void)
 Get GPIO1 wake-up status. More...
 
INLINE uint8 PMU_getGPIO2WakeSts (void)
 Get GPIO2 wake-up status. More...
 
INLINE uint8 PMU_getGPIO3WakeSts (void)
 Get GPIO3 wake-up status. More...
 
INLINE uint8 PMU_getGPIO4WakeSts (void)
 Get GPIO4 wake-up status. More...
 
INLINE uint8 PMU_getGPIO5WakeSts (void)
 Get GPIO5 wake-up status. More...
 
INLINE uint8 PMU_getMON1WakeSts (void)
 Get MON1 wake-up status. More...
 
INLINE uint8 PMU_getMON2WakeSts (void)
 Get MON2 wake-up status. More...
 
INLINE uint8 PMU_getMON3WakeSts (void)
 Get MON3 wake-up status. More...
 
INLINE uint8 PMU_getVDDPUndervoltageWarnWakeSts (void)
 Get VDDP undervoltage warning wake-up status. More...
 
INLINE uint8 PMU_getVDDPOvervoltageWakeSts (void)
 Get VDDP overvoltage wake-up status. More...
 
INLINE uint8 PMU_getVDDPHighCurrentModeWakeSts (void)
 Get VDDP high current mode wake-up status. More...
 
INLINE uint8 PMU_getVDDCUndervoltageWarnWakeSts (void)
 Get VDDC undervoltage warning wake-up status. More...
 
INLINE uint8 PMU_getVDDCOvervoltageWakeSts (void)
 Get VDDC overvoltage wake-up status. More...
 
INLINE uint8 PMU_getVDDCHighCurrentModeWakeSts (void)
 Get VDDC high current mode wake-up status. More...
 
INLINE uint8 PMU_getVDDEXTOvertemperatureWakeSts (void)
 Get VDDEXT overtemperature wake-up status. More...
 
INLINE uint8 PMU_getVDDEXTUndervoltageWakeSts (void)
 Get VDDEXT undervoltage wake-up status. More...
 
INLINE uint8 PMU_getVSDOvervoltageWakeSts (void)
 Get VSD overvoltage wake-up status. More...
 
INLINE void PMU_clrCANWakeSts (void)
 Clear CAN wake-up status. More...
 
INLINE void PMU_clrCyclicWakeSts (void)
 Clear cyclic wake-up status. More...
 
INLINE void PMU_clrGPIO0WakeSts (void)
 Clear GPIO0 wake-up status. More...
 
INLINE void PMU_clrGPIO1WakeSts (void)
 Clear GPIO1 wake-up status. More...
 
INLINE void PMU_clrGPIO2WakeSts (void)
 Clear GPIO2 wake-up status. More...
 
INLINE void PMU_clrGPIO3WakeSts (void)
 Clear GPIO3 wake-up status. More...
 
INLINE void PMU_clrGPIO4WakeSts (void)
 Clear GPIO4 wake-up status. More...
 
INLINE void PMU_clrGPIO5WakeSts (void)
 Clear GPIO5 wake-up status. More...
 
INLINE void PMU_clrMON1WakeSts (void)
 Clear MON1 wake-up status. More...
 
INLINE void PMU_clrMON2WakeSts (void)
 Clear MON2 wake-up status. More...
 
INLINE void PMU_clrMON3WakeSts (void)
 Clear MON3 wake-up status. More...
 
INLINE void PMU_clrVDDPUndervoltageWarnWakeSts (void)
 Clear VDDP undervoltage warning wake-up status. More...
 
INLINE void PMU_clrVDDPOvervoltageWakeSts (void)
 Clear VDDP overvoltage wake-up status. More...
 
INLINE void PMU_clrVDDPHighCurrentModeWakeSts (void)
 Clear VDDP high current mode wake-up status. More...
 
INLINE void PMU_clrVDDCUndervoltageWarnWakeSts (void)
 Clear VDDC undervoltage warning wake-up status. More...
 
INLINE void PMU_clrVDDCOvervoltageWakeSts (void)
 Clear VDDC overvoltage wake-up status. More...
 
INLINE void PMU_clrVDDCHighCurrentModeWakeSts (void)
 Clear VDDC high current mode wake-up status. More...
 
INLINE void PMU_clrVDDEXTOvertemperatureWakeSts (void)
 Clear VDDEXT overtemperature wake-up status. More...
 
INLINE void PMU_clrVDDEXTUndervoltageWakeSts (void)
 Clear VDDEXT undervoltage wake-up status. More...
 
INLINE void PMU_clrVSDOvervoltageWakeSts (void)
 Clear VSD overvoltage wake-up status. More...
 
INLINE void PMU_enFailInputPullUp (void)
 Enable the failure input pull up. More...
 
INLINE void PMU_enResetPin (void)
 Enable the Reset pin. More...
 
INLINE void PMU_disFailInputPullUp (void)
 Disable the failure input pull up. More...
 
INLINE void PMU_disResetPin (void)
 Disable the Reset Pin. More...
 
INLINE uint8 PMU_getMstrClkWDFailSts (void)
 Get master clock watchdog fail status. More...
 
INLINE uint8 PMU_getMstrSupplyUndervoltageSts (void)
 Get master supply undervoltage status. More...
 
INLINE uint8 PMU_getMstrSupplyOvervoltageSts (void)
 Get master supply overvoltage status. More...
 
INLINE uint8 PMU_getWDFailSts (void)
 Get watchdog fail status. More...
 
INLINE uint8 PMU_getWDSelfTestFailSts (void)
 Get watchdog self-test fail status. More...
 
INLINE uint8 PMU_getVDDCUndervoltageSts (void)
 Get VDDC undervoltage status. More...
 
INLINE uint8 PMU_getVDDCOvervoltageSts (void)
 Get VDDC overvoltage status. More...
 
INLINE uint8 PMU_getVDDPUndervoltageSts (void)
 Get VDDP undervoltage status. More...
 
INLINE uint8 PMU_getVDDPOvervoltageSts (void)
 Get VDDP overvoltage status. More...
 
INLINE uint8 PMU_getVDDPOvertemperatureSts (void)
 Get VDDP overtemperature status. More...
 
INLINE uint8 PMU_getVAREFOvervoltageSts (void)
 Get VAREF overvoltage status. More...
 
INLINE uint8 PMU_getCSCOvercurrentSts (void)
 Get CSC overcurrent status. More...
 
INLINE uint8 PMU_getCSCSelfTestFailSts (void)
 Get CSC self-test fail status. More...
 
INLINE uint8 PMU_getCSCEnFailSts (void)
 Get CSC enabling fail status. More...
 
INLINE uint8 PMU_getPinMonitorFailSts (void)
 Get pin monitor fail status. More...
 
INLINE uint8 PMU_getFOOvercurrentSts (void)
 Get FO overcurrent status. More...
 
INLINE void PMU_clrMstrClkWDFailSts (void)
 Clear master clock watchdog fail status. More...
 
INLINE void PMU_clrMstrSupplyUndervoltageSts (void)
 Clear master supply undervoltage status. More...
 
INLINE void PMU_clrMstrSupplyOvervoltageSts (void)
 Clear master supply overvoltage status. More...
 
INLINE void PMU_clrWDFailSts (void)
 Clear watchdog fail status. More...
 
INLINE void PMU_clrWDSelfTestFailSts (void)
 Clear watchdog self-test fail status. More...
 
INLINE void PMU_clrVDDCUndervoltageSts (void)
 Clear VDDC undervoltage status. More...
 
INLINE void PMU_clrVDDCOvervoltageSts (void)
 Clear VDDC overvoltage status. More...
 
INLINE void PMU_clrVDDPUndervoltageSts (void)
 Clear VDDP undervoltage status. More...
 
INLINE void PMU_clrVDDPOvervoltageSts (void)
 Clear VDDP overvoltage status. More...
 
INLINE void PMU_clrVDDPOvertemperatureSts (void)
 Clear VDDP overtemperature status. More...
 
INLINE void PMU_clrVAREFOvervoltageSts (void)
 Clear VAREF overvoltage status. More...
 
INLINE void PMU_clrCSCOvercurrentSts (void)
 Clear CSC overcurrent status. More...
 
INLINE void PMU_clrCSCSelfTestFailSts (void)
 Clear CSC self-test fail status. More...
 
INLINE void PMU_clrCSCEnFailSts (void)
 Clear CSC enabling fail status. More...
 
INLINE void PMU_clrPinMonitorFailSts (void)
 Clear pin monitor fail status. More...
 
INLINE void PMU_clrFOOvercurrentSts (void)
 Clear FO overcurrent status. More...
 
INLINE uint8 PMU_getSafeShutdownSts (void)
 Get safe shutdown status. More...
 
INLINE uint8 PMU_getFailOutputSts (void)
 Get fail output status. More...
 
INLINE void PMU_clrSafeShutdownSts (void)
 Clear safe shutdown status. More...
 
INLINE void PMU_clrFailOutputSts (void)
 Clear fail output status. More...
 
void PMU_setVDDPUndervoltageWarnIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set VDDP Undervoltage Warning Interrupt Node Pointer. More...
 
void PMU_setVDDPOvervoltageIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set VDDP Overvoltage Interrupt Node Pointer. More...
 
void PMU_setVDDCUndervoltageWarnIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set VDDC Undervoltage Warning Interrupt Node Pointer. More...
 
void PMU_setVDDCOvervoltageIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set VDDC Overvoltage Interrupt Node Pointer. More...
 
void PMU_setVDDEXTUndervoltageIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set VDDEXT Undervoltage Interrupt Node Pointer. More...
 
void PMU_setVDDEXTOvertemperatureIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set VDDEXT Overtemperature Interrupt Node Pointer. More...
 

Variables

void use the ConfigWizard to configure this feature
 

Macro Definition Documentation

◆ PMU_WAKEUPSRC_ALL_SRC

#define PMU_WAKEUPSRC_ALL_SRC   (0x11FF73F7UL)

PMU Wake-up source all sources.

◆ PMU_WAKEUPSRC_ALLGPIOS

#define PMU_WAKEUPSRC_ALLGPIOS   (0x3F0UL)

PMU Wake-up source all GPIOs.

◆ PMU_WAKEUPSRC_CAN

#define PMU_WAKEUPSRC_CAN   PMU_WAKE_CTRL_CAN_WAKE_EN_Msk

PMU Wake-up source CAN.

◆ PMU_WAKEUPSRC_CYCLICSENSE

#define PMU_WAKEUPSRC_CYCLICSENSE   (2u)

PMU Wake-up source cyclic sense.

◆ PMU_WAKEUPSRC_CYCLICWAKE

#define PMU_WAKEUPSRC_CYCLICWAKE   PMU_WAKE_CTRL_CYC_WAKE_EN_Msk

PMU Wake-up source cyclic wake.

◆ PMU_WAKEUPSRC_GPIO0

#define PMU_WAKEUPSRC_GPIO0   PMU_WAKE_CTRL_GPIO0_WAKE_EN_Msk

PMU Wake-up source GPIO0.

◆ PMU_WAKEUPSRC_GPIO1

#define PMU_WAKEUPSRC_GPIO1   PMU_WAKE_CTRL_GPIO1_WAKE_EN_Msk

PMU Wake-up source GPIO1.

◆ PMU_WAKEUPSRC_GPIO2

#define PMU_WAKEUPSRC_GPIO2   PMU_WAKE_CTRL_GPIO2_WAKE_EN_Msk

PMU Wake-up source GPIO2.

◆ PMU_WAKEUPSRC_GPIO3

#define PMU_WAKEUPSRC_GPIO3   PMU_WAKE_CTRL_GPIO3_WAKE_EN_Msk

PMU Wake-up source GPIO3.

◆ PMU_WAKEUPSRC_GPIO4

#define PMU_WAKEUPSRC_GPIO4   PMU_WAKE_CTRL_GPIO4_WAKE_EN_Msk

PMU Wake-up source GPIO4.

◆ PMU_WAKEUPSRC_GPIO5

#define PMU_WAKEUPSRC_GPIO5   PMU_WAKE_CTRL_GPIO5_WAKE_EN_Msk

PMU Wake-up source GPIO5.

◆ PMU_WAKEUPSRC_MON1

#define PMU_WAKEUPSRC_MON1   PMU_WAKE_CTRL_MON0_WAKE_EN_Msk

PMU Wake-up source MON1.

◆ PMU_WAKEUPSRC_MON2

#define PMU_WAKEUPSRC_MON2   PMU_WAKE_CTRL_MON1_WAKE_EN_Msk

PMU Wake-up source MON2.

◆ PMU_WAKEUPSRC_MON3

#define PMU_WAKEUPSRC_MON3   PMU_WAKE_CTRL_MON2_WAKE_EN_Msk

PMU Wake-up source MON3.

◆ PMU_WAKEUPSRC_VDDC_HCM

#define PMU_WAKEUPSRC_VDDC_HCM   PMU_WAKE_CTRL_VDDC_HCM_WAKE_EN_Msk

PMU Wake-up source VDDC HCM.

◆ PMU_WAKEUPSRC_VDDC_OV

#define PMU_WAKEUPSRC_VDDC_OV   PMU_WAKE_CTRL_VDDC_OV_WAKE_EN_Msk

PMU Wake-up source VDDC OV.

◆ PMU_WAKEUPSRC_VDDC_UV

#define PMU_WAKEUPSRC_VDDC_UV   PMU_WAKE_CTRL_VDDC_UVWARN_WAKE_EN_Msk

PMU Wake-up source VDDC UV.

◆ PMU_WAKEUPSRC_VDDEXT_OT

#define PMU_WAKEUPSRC_VDDEXT_OT   PMU_WAKE_CTRL_VDDEXT_OT_WAKE_EN_Msk

PMU Wake-up source VDDEXT OT.

◆ PMU_WAKEUPSRC_VDDEXT_UV

#define PMU_WAKEUPSRC_VDDEXT_UV   PMU_WAKE_CTRL_VDDEXT_UV_WAKE_EN_Msk

PMU Wake-up source VDDEXT UV.

◆ PMU_WAKEUPSRC_VDDP_HCM

#define PMU_WAKEUPSRC_VDDP_HCM   PMU_WAKE_CTRL_VDDP_HCM_WAKE_EN_Msk

PMU Wake-up source VDDP HCM.

◆ PMU_WAKEUPSRC_VDDP_OV

#define PMU_WAKEUPSRC_VDDP_OV   PMU_WAKE_CTRL_VDDP_OV_WAKE_EN_Msk

PMU Wake-up source VDP OV.

◆ PMU_WAKEUPSRC_VDDP_UV

#define PMU_WAKEUPSRC_VDDP_UV   PMU_WAKE_CTRL_VDDP_UVWARN_WAKE_EN_Msk

PMU Wake-up source VDDP UV.

◆ PMU_WAKEUPSRC_VSD_OV

#define PMU_WAKEUPSRC_VSD_OV   PMU_WAKE_CTRL_VSDOV_WAKE_EN_Msk

PMU Wake-up source VSD OV.

Typedef Documentation

◆ tPMU_gpioInput

Enumeration Type Documentation

◆ PMU_gpioInput

This enum lists the gpio input pointer.

Note
You can use this type via 'tPMU_gpioInput' or 'enum PMU_gpioInput'
Enumerator
PMU_gpioInput_P0_0 
PMU_gpioInput_P0_1 
PMU_gpioInput_P0_2 
PMU_gpioInput_P0_3 
PMU_gpioInput_P0_4 
PMU_gpioInput_P0_5 
PMU_gpioInput_P0_6 
PMU_gpioInput_P0_7 
PMU_gpioInput_P0_8 
PMU_gpioInput_P0_9 
PMU_gpioInput_P1_0 
PMU_gpioInput_P1_1 
PMU_gpioInput_P1_2 
PMU_gpioInput_P1_3 
PMU_gpioInput_P1_4 
PMU_gpioInput_P2_0 
PMU_gpioInput_P2_1 
PMU_gpioInput_P2_2 
PMU_gpioInput_P2_3 
PMU_gpioInput_P2_4 
PMU_gpioInput_P2_5 
PMU_gpioInput_P2_6 
PMU_gpioInput_P2_7 
PMU_gpioInput_P2_8 
PMU_gpioInput_P2_9 

Function Documentation

◆ PMU_clrCANWakeSts()

INLINE void PMU_clrCANWakeSts ( void  )

Clear CAN wake-up status.

◆ PMU_clrCSCEnFailSts()

INLINE void PMU_clrCSCEnFailSts ( void  )

Clear CSC enabling fail status.

◆ PMU_clrCSCOvercurrentSts()

INLINE void PMU_clrCSCOvercurrentSts ( void  )

Clear CSC overcurrent status.

◆ PMU_clrCSCSelfTestFailSts()

INLINE void PMU_clrCSCSelfTestFailSts ( void  )

Clear CSC self-test fail status.

◆ PMU_clrCyclicWakeSts()

INLINE void PMU_clrCyclicWakeSts ( void  )

Clear cyclic wake-up status.

◆ PMU_clrFailOutputSts()

INLINE void PMU_clrFailOutputSts ( void  )

Clear fail output status.

◆ PMU_clrFailSafeWatchdogFailSts()

void PMU_clrFailSafeWatchdogFailSts ( void  )

Clear the fail-safe watchdog fail status.

◆ PMU_clrFailSafeWDRstSts()

INLINE void PMU_clrFailSafeWDRstSts ( void  )

Clear fail safe watchdog reset status.

◆ PMU_clrFailSleepExitRstSts()

INLINE void PMU_clrFailSleepExitRstSts ( void  )

Clear fail sleep mode exit reset status.

◆ PMU_clrFOOvercurrentSts()

INLINE void PMU_clrFOOvercurrentSts ( void  )

Clear FO overcurrent status.

◆ PMU_clrGPIO0WakeSts()

INLINE void PMU_clrGPIO0WakeSts ( void  )

Clear GPIO0 wake-up status.

◆ PMU_clrGPIO1WakeSts()

INLINE void PMU_clrGPIO1WakeSts ( void  )

Clear GPIO1 wake-up status.

◆ PMU_clrGPIO2WakeSts()

INLINE void PMU_clrGPIO2WakeSts ( void  )

Clear GPIO2 wake-up status.

◆ PMU_clrGPIO3WakeSts()

INLINE void PMU_clrGPIO3WakeSts ( void  )

Clear GPIO3 wake-up status.

◆ PMU_clrGPIO4WakeSts()

INLINE void PMU_clrGPIO4WakeSts ( void  )

Clear GPIO4 wake-up status.

◆ PMU_clrGPIO5WakeSts()

INLINE void PMU_clrGPIO5WakeSts ( void  )

Clear GPIO5 wake-up status.

◆ PMU_clrHPClkFailSts()

INLINE void PMU_clrHPClkFailSts ( void  )

Clear HP clock fail status.

◆ PMU_clrLockupRstSts()

INLINE void PMU_clrLockupRstSts ( void  )

Clear ARM core lockup reset status.

◆ PMU_clrMON1WakeSts()

INLINE void PMU_clrMON1WakeSts ( void  )

Clear MON1 wake-up status.

◆ PMU_clrMON2WakeSts()

INLINE void PMU_clrMON2WakeSts ( void  )

Clear MON2 wake-up status.

◆ PMU_clrMON3WakeSts()

INLINE void PMU_clrMON3WakeSts ( void  )

Clear MON3 wake-up status.

◆ PMU_clrMstrClkWDFailSts()

INLINE void PMU_clrMstrClkWDFailSts ( void  )

Clear master clock watchdog fail status.

◆ PMU_clrMstrClkWDRstSts()

INLINE void PMU_clrMstrClkWDRstSts ( void  )

Clear master clock watchdog reset status.

◆ PMU_clrMstrSupplyOvervoltageSts()

INLINE void PMU_clrMstrSupplyOvervoltageSts ( void  )

Clear master supply overvoltage status.

◆ PMU_clrMstrSupplyUndervoltageRstSts()

INLINE void PMU_clrMstrSupplyUndervoltageRstSts ( void  )

Clear master supply undervoltage reset status.

◆ PMU_clrMstrSupplyUndervoltageSts()

INLINE void PMU_clrMstrSupplyUndervoltageSts ( void  )

Clear master supply undervoltage status.

◆ PMU_clrPinMonitorFailSts()

INLINE void PMU_clrPinMonitorFailSts ( void  )

Clear pin monitor fail status.

◆ PMU_clrPinRstSts()

INLINE void PMU_clrPinRstSts ( void  )

Clear pin reset status.

◆ PMU_clrSafeShutdownSts()

INLINE void PMU_clrSafeShutdownSts ( void  )

Clear safe shutdown status.

◆ PMU_clrSecureStackOverflowRstSts()

INLINE void PMU_clrSecureStackOverflowRstSts ( void  )

Clear secure stack overflow reset status.

◆ PMU_clrSeqWdFailSts()

INLINE void PMU_clrSeqWdFailSts ( void  )

Clear sequential watchdog fail status.

◆ PMU_clrSleepExitRstSts()

INLINE void PMU_clrSleepExitRstSts ( void  )

Clear sleep mode exit reset status.

◆ PMU_clrSoftRstSts()

INLINE void PMU_clrSoftRstSts ( void  )

Clear soft reset status.

◆ PMU_clrStopExitRstSts()

INLINE void PMU_clrStopExitRstSts ( void  )

Clear stop mode exit reset status.

◆ PMU_clrSysOvertemperatureSts()

INLINE void PMU_clrSysOvertemperatureSts ( void  )

Clear system overtemperature status.

◆ PMU_clrVAREFOvervoltageSts()

INLINE void PMU_clrVAREFOvervoltageSts ( void  )

Clear VAREF overvoltage status.

◆ PMU_clrVDDCHighCurrentModeSts()

INLINE void PMU_clrVDDCHighCurrentModeSts ( void  )

Clear VDDC high current mode status.

◆ PMU_clrVDDCHighCurrentModeWakeSts()

INLINE void PMU_clrVDDCHighCurrentModeWakeSts ( void  )

Clear VDDC high current mode wake-up status.

◆ PMU_clrVDDCOvercurrentSts()

INLINE void PMU_clrVDDCOvercurrentSts ( void  )

Clear VDDC overcurrent status.

◆ PMU_clrVDDCOvervoltageIntSts()

INLINE void PMU_clrVDDCOvervoltageIntSts ( void  )

Clear VDDC overvoltage interrupt status.

◆ PMU_clrVDDCOvervoltageSts()

INLINE void PMU_clrVDDCOvervoltageSts ( void  )

Clear VDDC overvoltage status.

◆ PMU_clrVDDCOvervoltageWakeSts()

INLINE void PMU_clrVDDCOvervoltageWakeSts ( void  )

Clear VDDC overvoltage wake-up status.

◆ PMU_clrVDDCRegulatorTimeoutSts()

INLINE void PMU_clrVDDCRegulatorTimeoutSts ( void  )

Clear VDDC regulator timeout status.

◆ PMU_clrVDDCUndervoltageRstSts()

INLINE void PMU_clrVDDCUndervoltageRstSts ( void  )

Clear VDDC undervoltage reset status.

◆ PMU_clrVDDCUndervoltageSts()

INLINE void PMU_clrVDDCUndervoltageSts ( void  )

Clear VDDC undervoltage status.

◆ PMU_clrVDDCUndervoltageWarnIntSts()

INLINE void PMU_clrVDDCUndervoltageWarnIntSts ( void  )

Clear VDDC undervoltage warning interrupt status.

◆ PMU_clrVDDCUndervoltageWarnSts()

INLINE void PMU_clrVDDCUndervoltageWarnSts ( void  )

Clear VDDC undervoltage warning status.

◆ PMU_clrVDDCUndervoltageWarnWakeSts()

INLINE void PMU_clrVDDCUndervoltageWarnWakeSts ( void  )

Clear VDDC undervoltage warning wake-up status.

◆ PMU_clrVDDEXTOvertemperatureIntSts()

INLINE void PMU_clrVDDEXTOvertemperatureIntSts ( void  )

Clear VDDEXT overtemperature interrupt status.

◆ PMU_clrVDDEXTOvertemperatureSts()

INLINE void PMU_clrVDDEXTOvertemperatureSts ( void  )

Clear VDDEXT overtemperature status.

◆ PMU_clrVDDEXTOvertemperatureWakeSts()

INLINE void PMU_clrVDDEXTOvertemperatureWakeSts ( void  )

Clear VDDEXT overtemperature wake-up status.

◆ PMU_clrVDDEXTUndervoltageIntSts()

INLINE void PMU_clrVDDEXTUndervoltageIntSts ( void  )

Clear VDDEXT undervoltage interrupt status.

◆ PMU_clrVDDEXTUndervoltageSts()

INLINE void PMU_clrVDDEXTUndervoltageSts ( void  )

Clear VDDEXT undervoltage status.

◆ PMU_clrVDDEXTUndervoltageWakeSts()

INLINE void PMU_clrVDDEXTUndervoltageWakeSts ( void  )

Clear VDDEXT undervoltage wake-up status.

◆ PMU_clrVDDPCurrentLimitSts()

INLINE void PMU_clrVDDPCurrentLimitSts ( void  )

Clear VDDP current limitation status.

◆ PMU_clrVDDPHighCurrentModeSts()

INLINE void PMU_clrVDDPHighCurrentModeSts ( void  )

Clear VDDP high current mode status.

◆ PMU_clrVDDPHighCurrentModeWakeSts()

INLINE void PMU_clrVDDPHighCurrentModeWakeSts ( void  )

Clear VDDP high current mode wake-up status.

◆ PMU_clrVDDPOvertemperatureSts()

INLINE void PMU_clrVDDPOvertemperatureSts ( void  )

Clear VDDP overtemperature status.

◆ PMU_clrVDDPOvervoltageIntSts()

INLINE void PMU_clrVDDPOvervoltageIntSts ( void  )

Clear VDDP overvoltage interrupt status.

◆ PMU_clrVDDPOvervoltageSts()

INLINE void PMU_clrVDDPOvervoltageSts ( void  )

Clear VDDP overvoltage status.

◆ PMU_clrVDDPOvervoltageWakeSts()

INLINE void PMU_clrVDDPOvervoltageWakeSts ( void  )

Clear VDDP overvoltage wake-up status.

◆ PMU_clrVDDPRegulatorOvertemperatureSts()

INLINE void PMU_clrVDDPRegulatorOvertemperatureSts ( void  )

Clear VDDP regulator overtemperature status.

◆ PMU_clrVDDPRegulatorTimeoutSts()

INLINE void PMU_clrVDDPRegulatorTimeoutSts ( void  )

Clear VDDP regulator timeout status.

◆ PMU_clrVDDPUndervoltageRstSts()

INLINE void PMU_clrVDDPUndervoltageRstSts ( void  )

Clear VDDP undervoltage reset status.

◆ PMU_clrVDDPUndervoltageSts()

INLINE void PMU_clrVDDPUndervoltageSts ( void  )

Clear VDDP undervoltage status.

◆ PMU_clrVDDPUndervoltageWarnIntSts()

INLINE void PMU_clrVDDPUndervoltageWarnIntSts ( void  )

Clear VDDP undervoltage warning interrupt status.

◆ PMU_clrVDDPUndervoltageWarnSts()

INLINE void PMU_clrVDDPUndervoltageWarnSts ( void  )

Clear VDDP undervoltage warning status.

◆ PMU_clrVDDPUndervoltageWarnWakeSts()

INLINE void PMU_clrVDDPUndervoltageWarnWakeSts ( void  )

Clear VDDP undervoltage warning wake-up status.

◆ PMU_clrVSDOvervoltageWakeSts()

INLINE void PMU_clrVSDOvervoltageWakeSts ( void  )

Clear VSD overvoltage wake-up status.

◆ PMU_clrWDFailSts()

INLINE void PMU_clrWDFailSts ( void  )

Clear watchdog fail status.

◆ PMU_clrWDSelfTestFailSts()

INLINE void PMU_clrWDSelfTestFailSts ( void  )

Clear watchdog self-test fail status.

◆ PMU_clrWDTimerRstSts()

INLINE void PMU_clrWDTimerRstSts ( void  )

Clear MCU watchdog timer reset status.

◆ PMU_countFailSafeWatchdog()

void PMU_countFailSafeWatchdog ( void  )

Count up since the last watchdog trigger.

◆ PMU_disFailInputPullUp()

INLINE void PMU_disFailInputPullUp ( void  )

Disable the failure input pull up.

◆ PMU_disResetPin()

INLINE void PMU_disResetPin ( void  )

Disable the Reset Pin.

◆ PMU_disStopModeVDDCReduct()

INLINE void PMU_disStopModeVDDCReduct ( void  )

Disable VDDC reduction in Stop Mode.

◆ PMU_disVDDCOvervoltageInt()

INLINE void PMU_disVDDCOvervoltageInt ( void  )

Disable VDDC overvoltage interrupt.

◆ PMU_disVDDCUndervoltageWarnInt()

INLINE void PMU_disVDDCUndervoltageWarnInt ( void  )

Disable VDDC undervoltage warning interrupt.

◆ PMU_disVDDEXTOvertemperatureInt()

INLINE void PMU_disVDDEXTOvertemperatureInt ( void  )

Disable VDDEXT overtemperature interrupt.

◆ PMU_disVDDEXTUndervoltageInt()

INLINE void PMU_disVDDEXTUndervoltageInt ( void  )

Disable VDDEXT undervoltage interrupt.

◆ PMU_disVDDPOvervoltageInt()

INLINE void PMU_disVDDPOvervoltageInt ( void  )

Disable VDDP overvoltage interrupt.

◆ PMU_disVDDPUndervoltageWarnInt()

INLINE void PMU_disVDDPUndervoltageWarnInt ( void  )

Disable VDDP undervoltage warning interrupt.

◆ PMU_disWakeupSrc()

INLINE sint8 PMU_disWakeupSrc ( uint32  u32_wakeupSrc)

Disable a wake-up source.

Parameters
u32_wakeupSrcWake-up sources to be disabled, defines prepared (PMU_WAKEUPSRC_*)
Returns
sint8 0: success, <0: error codes

◆ PMU_enFailInputPullUp()

INLINE void PMU_enFailInputPullUp ( void  )

Enable the failure input pull up.

◆ PMU_enResetPin()

INLINE void PMU_enResetPin ( void  )

Enable the Reset pin.

◆ PMU_enStopModeVDDCReduct()

INLINE void PMU_enStopModeVDDCReduct ( void  )

Enable VDDC reduction in Stop Mode.

◆ PMU_enVDDCOvervoltageInt()

INLINE void PMU_enVDDCOvervoltageInt ( void  )

Enable VDDC overvoltage interrupt.

◆ PMU_enVDDCUndervoltageWarnInt()

INLINE void PMU_enVDDCUndervoltageWarnInt ( void  )

Enable VDDC undervoltage warning interrupt.

◆ PMU_enVDDEXTOvertemperatureInt()

INLINE void PMU_enVDDEXTOvertemperatureInt ( void  )

Enable VDDEXT overtemperature interrupt.

◆ PMU_enVDDEXTUndervoltageInt()

INLINE void PMU_enVDDEXTUndervoltageInt ( void  )

Enable VDDEXT undervoltage interrupt.

◆ PMU_enVDDPOvervoltageInt()

INLINE void PMU_enVDDPOvervoltageInt ( void  )

Enable VDDP overvoltage interrupt.

◆ PMU_enVDDPUndervoltageWarnInt()

INLINE void PMU_enVDDPUndervoltageWarnInt ( void  )

Enable VDDP undervoltage warning interrupt.

◆ PMU_enWakeupSrc()

INLINE sint8 PMU_enWakeupSrc ( uint32  u32_wakeupSrc)

Enable a wake-up source.

Parameters
u32_wakeupSrcWake-up sources to be enabled, defines prepared (PMU_WAKEUPSRC_*)
Returns
sint8 0: success, <0: error codes

◆ PMU_getCANWakeSts()

INLINE uint8 PMU_getCANWakeSts ( void  )

Get CAN wake-up status.

Returns
uint8 CAN wake-up status

◆ PMU_getCSCEnFailSts()

INLINE uint8 PMU_getCSCEnFailSts ( void  )

Get CSC enabling fail status.

Returns
uint8 CSC enabling fail status

◆ PMU_getCSCOvercurrentSts()

INLINE uint8 PMU_getCSCOvercurrentSts ( void  )

Get CSC overcurrent status.

Returns
uint8 CSC overcurrent status

◆ PMU_getCSCSelfTestFailSts()

INLINE uint8 PMU_getCSCSelfTestFailSts ( void  )

Get CSC self-test fail status.

Returns
uint8 CSC self-test fail status

◆ PMU_getCyclicWakeSts()

INLINE uint8 PMU_getCyclicWakeSts ( void  )

Get cyclic wake-up status.

Returns
uint8 cyclic wake-up status

◆ PMU_getFailOutputSts()

INLINE uint8 PMU_getFailOutputSts ( void  )

Get fail output status.

Returns
uint8 fail output status

◆ PMU_getFailSafeWDRstSts()

INLINE uint8 PMU_getFailSafeWDRstSts ( void  )

Get fail safe watchdog reset status.

Returns
uint8 fail safe watchdog reset status

◆ PMU_getFailSleepExitRstSts()

INLINE uint8 PMU_getFailSleepExitRstSts ( void  )

Get fail sleep mode exit reset status.

Returns
uint8 fail sleep mode exit reset status

◆ PMU_getFOOvercurrentSts()

INLINE uint8 PMU_getFOOvercurrentSts ( void  )

Get FO overcurrent status.

Returns
uint8 FO overcurrent status

◆ PMU_getGPIO0WakeSts()

INLINE uint8 PMU_getGPIO0WakeSts ( void  )

Get GPIO0 wake-up status.

Returns
uint8 GPIO0 wake-up status

◆ PMU_getGPIO1WakeSts()

INLINE uint8 PMU_getGPIO1WakeSts ( void  )

Get GPIO1 wake-up status.

Returns
uint8 GPIO1 wake-up status

◆ PMU_getGPIO2WakeSts()

INLINE uint8 PMU_getGPIO2WakeSts ( void  )

Get GPIO2 wake-up status.

Returns
uint8 GPIO2 wake-up status

◆ PMU_getGPIO3WakeSts()

INLINE uint8 PMU_getGPIO3WakeSts ( void  )

Get GPIO3 wake-up status.

Returns
uint8 GPIO3 wake-up status

◆ PMU_getGPIO4WakeSts()

INLINE uint8 PMU_getGPIO4WakeSts ( void  )

Get GPIO4 wake-up status.

Returns
uint8 GPIO4 wake-up status

◆ PMU_getGPIO5WakeSts()

INLINE uint8 PMU_getGPIO5WakeSts ( void  )

Get GPIO5 wake-up status.

Returns
uint8 GPIO5 wake-up status

◆ PMU_getHPClkFailSts()

INLINE uint8 PMU_getHPClkFailSts ( void  )

Get HP clock fail status.

Returns
uint8 HP clock fail status

◆ PMU_getLockupRstSts()

INLINE uint8 PMU_getLockupRstSts ( void  )

Get ARM core lockup reset status.

Returns
uint8 ARM core lockup reset status

◆ PMU_getMON1InputSts()

INLINE uint8 PMU_getMON1InputSts ( void  )

Get MON1 input status.

Returns
uint8 MON1 input status

◆ PMU_getMON1WakeSts()

INLINE uint8 PMU_getMON1WakeSts ( void  )

Get MON1 wake-up status.

Returns
uint8 MON1 wake-up status

◆ PMU_getMON2InputSts()

INLINE uint8 PMU_getMON2InputSts ( void  )

Get MON2 input status.

Returns
uint8 MON2 input status

◆ PMU_getMON2WakeSts()

INLINE uint8 PMU_getMON2WakeSts ( void  )

Get MON2 wake-up status.

Returns
uint8 MON2 wake-up status

◆ PMU_getMON3InputSts()

INLINE uint8 PMU_getMON3InputSts ( void  )

Get MON3 input status.

Returns
uint8 MON3 input status

◆ PMU_getMON3WakeSts()

INLINE uint8 PMU_getMON3WakeSts ( void  )

Get MON3 wake-up status.

Returns
uint8 MON3 wake-up status

◆ PMU_getMstrClkWDFailSts()

INLINE uint8 PMU_getMstrClkWDFailSts ( void  )

Get master clock watchdog fail status.

Returns
uint8 master clock watchdog fail status

◆ PMU_getMstrClkWDRstSts()

INLINE uint8 PMU_getMstrClkWDRstSts ( void  )

Get master clock watchdog reset status.

Returns
uint8 master clock watchdog reset status

◆ PMU_getMstrSupplyOvervoltageSts()

INLINE uint8 PMU_getMstrSupplyOvervoltageSts ( void  )

Get master supply overvoltage status.

Returns
uint8 master supply overvoltage status

◆ PMU_getMstrSupplyUndervoltageRstSts()

INLINE uint8 PMU_getMstrSupplyUndervoltageRstSts ( void  )

Get master supply undervoltage reset status.

Returns
uint8 master supply undervoltage reset status

◆ PMU_getMstrSupplyUndervoltageSts()

INLINE uint8 PMU_getMstrSupplyUndervoltageSts ( void  )

Get master supply undervoltage status.

Returns
uint8 master supply undervoltage status

◆ PMU_getPinMonitorFailSts()

INLINE uint8 PMU_getPinMonitorFailSts ( void  )

Get pin monitor fail status.

Returns
uint8 pin monitor fail status

◆ PMU_getPinRstSts()

INLINE uint8 PMU_getPinRstSts ( void  )

Get pin reset status.

Returns
uint8 pin reset status

◆ PMU_getSafeShutdownSts()

INLINE uint8 PMU_getSafeShutdownSts ( void  )

Get safe shutdown status.

Returns
uint8 safe shutdown status

◆ PMU_getSecureStackOverflowRstSts()

INLINE uint8 PMU_getSecureStackOverflowRstSts ( void  )

Get secure stack overflow reset status.

Returns
uint8 secure stack overflow reset status

◆ PMU_getSeqWdFailSts()

INLINE uint8 PMU_getSeqWdFailSts ( void  )

Get sequential watchdog fail status.

Returns
uint8 sequential watchdog fail status

◆ PMU_getSleepExitRstSts()

INLINE uint8 PMU_getSleepExitRstSts ( void  )

Get sleep mode exit reset status.

Returns
uint8 sleep mode exit reset status

◆ PMU_getSoftRstSts()

INLINE uint8 PMU_getSoftRstSts ( void  )

Get soft reset status.

Returns
uint8 soft reset status

◆ PMU_getStopExitRstSts()

INLINE uint8 PMU_getStopExitRstSts ( void  )

Get stop mode exit reset status.

Returns
uint8 stop mode exit reset status

◆ PMU_getSysOvertemperatureSts()

INLINE uint8 PMU_getSysOvertemperatureSts ( void  )

Get system overtemperature status.

Returns
uint8 system overtemperature status

◆ PMU_getVAREFOvervoltageSts()

INLINE uint8 PMU_getVAREFOvervoltageSts ( void  )

Get VAREF overvoltage status.

Returns
uint8 VAREF overvoltage status

◆ PMU_getVDDCHighCurrentModeSts()

INLINE uint8 PMU_getVDDCHighCurrentModeSts ( void  )

Get VDDC high current mode status.

Returns
uint8 VDDC high current mode status

◆ PMU_getVDDCHighCurrentModeWakeSts()

INLINE uint8 PMU_getVDDCHighCurrentModeWakeSts ( void  )

Get VDDC high current mode wake-up status.

Returns
uint8 VDDC high current mode wake-up status

◆ PMU_getVDDCOvercurrentSts()

INLINE uint8 PMU_getVDDCOvercurrentSts ( void  )

Get VDDC overcurrent status.

Returns
uint8 VDDC overcurrent status

◆ PMU_getVDDCOvervoltageIntSts()

INLINE uint8 PMU_getVDDCOvervoltageIntSts ( void  )

Get VDDC overvoltage interrupt status.

Returns
uint8 VDDC overvoltage interrupt status

◆ PMU_getVDDCOvervoltageSts()

INLINE uint8 PMU_getVDDCOvervoltageSts ( void  )

Get VDDC overvoltage status.

Returns
uint8 VDDC overvoltage status

◆ PMU_getVDDCOvervoltageWakeSts()

INLINE uint8 PMU_getVDDCOvervoltageWakeSts ( void  )

Get VDDC overvoltage wake-up status.

Returns
uint8 VDDC overvoltage wake-up status

◆ PMU_getVDDCRegulatorTimeoutSts()

INLINE uint8 PMU_getVDDCRegulatorTimeoutSts ( void  )

Get VDDC regulator timeout status.

Returns
uint8 VDDC regulator timeout status

◆ PMU_getVDDCUndervoltageRstSts()

INLINE uint8 PMU_getVDDCUndervoltageRstSts ( void  )

Get VDDC undervoltage reset status.

Returns
uint8 VDDC undervoltage reset status

◆ PMU_getVDDCUndervoltageSts()

INLINE uint8 PMU_getVDDCUndervoltageSts ( void  )

Get VDDC undervoltage status.

Returns
uint8 VDDC undervoltage status

◆ PMU_getVDDCUndervoltageWarnIntSts()

INLINE uint8 PMU_getVDDCUndervoltageWarnIntSts ( void  )

Get VDDC undervoltage warning interrupt status.

Returns
uint8 VDDC undervoltage warning interrupt status

◆ PMU_getVDDCUndervoltageWarnSts()

INLINE uint8 PMU_getVDDCUndervoltageWarnSts ( void  )

Get VDDC undervoltage warning status.

Returns
uint8 VDDC undervoltage warning status

◆ PMU_getVDDCUndervoltageWarnWakeSts()

INLINE uint8 PMU_getVDDCUndervoltageWarnWakeSts ( void  )

Get VDDC undervoltage warning wake-up status.

Returns
uint8 VDDC undervoltage warning wake-up status

◆ PMU_getVDDEXTOvertemperatureIntSts()

INLINE uint8 PMU_getVDDEXTOvertemperatureIntSts ( void  )

Get VDDEXT overtemperature interrupt status.

Returns
uint8 VDDEXT overtemperature interrupt status

◆ PMU_getVDDEXTOvertemperatureSts()

INLINE uint8 PMU_getVDDEXTOvertemperatureSts ( void  )

Get VDDEXT overtemperature status.

Returns
uint8 VDDEXT overtemperature status

◆ PMU_getVDDEXTOvertemperatureWakeSts()

INLINE uint8 PMU_getVDDEXTOvertemperatureWakeSts ( void  )

Get VDDEXT overtemperature wake-up status.

Returns
uint8 VDDEXT overtemperature wake-up status

◆ PMU_getVDDEXTUndervoltageIntSts()

INLINE uint8 PMU_getVDDEXTUndervoltageIntSts ( void  )

Get VDDEXT undervoltage interrupt status.

Returns
uint8 VDDEXT undervoltage interrupt status

◆ PMU_getVDDEXTUndervoltageSts()

INLINE uint8 PMU_getVDDEXTUndervoltageSts ( void  )

Get VDDEXT undervoltage status.

Returns
uint8 VDDEXT undervoltage status

◆ PMU_getVDDEXTUndervoltageWakeSts()

INLINE uint8 PMU_getVDDEXTUndervoltageWakeSts ( void  )

Get VDDEXT undervoltage wake-up status.

Returns
uint8 VDDEXT undervoltage wake-up status

◆ PMU_getVDDPCurrentLimitSts()

INLINE uint8 PMU_getVDDPCurrentLimitSts ( void  )

Get VDDP current limitation status.

Returns
uint8 VDDP current limitation status

◆ PMU_getVDDPHighCurrentModeSts()

INLINE uint8 PMU_getVDDPHighCurrentModeSts ( void  )

Get VDDP high current mode status.

Returns
uint8 VDDP high current mode status

◆ PMU_getVDDPHighCurrentModeWakeSts()

INLINE uint8 PMU_getVDDPHighCurrentModeWakeSts ( void  )

Get VDDP high current mode wake-up status.

Returns
uint8 VDDP high current mode wake-up status

◆ PMU_getVDDPOvertemperatureSts()

INLINE uint8 PMU_getVDDPOvertemperatureSts ( void  )

Get VDDP overtemperature status.

Returns
uint8 VDDP overtemperature status

◆ PMU_getVDDPOvervoltageIntSts()

INLINE uint8 PMU_getVDDPOvervoltageIntSts ( void  )

Get VDDP overvoltage interrupt status.

Returns
uint8 VDDP overvoltage interrupt status

◆ PMU_getVDDPOvervoltageSts()

INLINE uint8 PMU_getVDDPOvervoltageSts ( void  )

Get VDDP overvoltage status.

Returns
uint8 VDDP overvoltage status

◆ PMU_getVDDPOvervoltageWakeSts()

INLINE uint8 PMU_getVDDPOvervoltageWakeSts ( void  )

Get VDDP overvoltage wake-up status.

Returns
uint8 VDDP overvoltage wake-up status

◆ PMU_getVDDPRegulatorOvertemperatureSts()

INLINE uint8 PMU_getVDDPRegulatorOvertemperatureSts ( void  )

Get VDDP regulator overtemperature status.

Returns
uint8 VDDP regulator overtemperature status

◆ PMU_getVDDPRegulatorTimeoutSts()

INLINE uint8 PMU_getVDDPRegulatorTimeoutSts ( void  )

Get VDDP regulator timeout status.

Returns
uint8 VDDP regulator timeout status

◆ PMU_getVDDPUndervoltageRstSts()

INLINE uint8 PMU_getVDDPUndervoltageRstSts ( void  )

Get VDDP undervoltage reset status.

Returns
uint8 VDDP undervoltage reset status

◆ PMU_getVDDPUndervoltageSts()

INLINE uint8 PMU_getVDDPUndervoltageSts ( void  )

Get VDDP undervoltage status.

Returns
uint8 VDDP undervoltage status

◆ PMU_getVDDPUndervoltageWarnIntSts()

INLINE uint8 PMU_getVDDPUndervoltageWarnIntSts ( void  )

Get VDDP undervoltage warning interrupt status.

Returns
uint8 VDDP undervoltage warning interrupt status

◆ PMU_getVDDPUndervoltageWarnSts()

INLINE uint8 PMU_getVDDPUndervoltageWarnSts ( void  )

Get VDDP undervoltage warning status.

Returns
uint8 VDDP undervoltage warning status

◆ PMU_getVDDPUndervoltageWarnWakeSts()

INLINE uint8 PMU_getVDDPUndervoltageWarnWakeSts ( void  )

Get VDDP undervoltage warning wake-up status.

Returns
uint8 VDDP undervoltage warning wake-up status

◆ PMU_getVSDOvervoltageWakeSts()

INLINE uint8 PMU_getVSDOvervoltageWakeSts ( void  )

Get VSD overvoltage wake-up status.

Returns
uint8 VSD overvoltage wake-up status

◆ PMU_getWakeupSrc()

INLINE uint32 PMU_getWakeupSrc ( void  )

Get a wake-up source.

Returns
uint32 Selected wake-up source

◆ PMU_getWDFailSts()

INLINE uint8 PMU_getWDFailSts ( void  )

Get watchdog fail status.

Returns
uint8 watchdog fail status

◆ PMU_getWDSelfTestFailSts()

INLINE uint8 PMU_getWDSelfTestFailSts ( void  )

Get watchdog self-test fail status.

Returns
uint8 watchdog self-test fail status

◆ PMU_getWDTimerRstSts()

INLINE uint8 PMU_getWDTimerRstSts ( void  )

Get MCU watchdog timer reset status.

Returns
uint8 MCU watchdog timer reset status

◆ PMU_init()

sint8 PMU_init ( void  )

Initialize all CW registers of the PMU module.

Returns
sint8 0: success, <0: error codes

◆ PMU_initFailSafeWatchdog()

sint8 PMU_initFailSafeWatchdog ( void  )

Initialize the fail-safe watchdog.

Returns
sint8 0: success, <0: error codes

◆ PMU_serviceFailSafeWatchdog()

sint8 PMU_serviceFailSafeWatchdog ( void  )

Service the fail-safe watchdog.

Returns
sint8 0: success, <0: error codes

◆ PMU_serviceFailSafeWatchdogSOW()

sint8 PMU_serviceFailSafeWatchdogSOW ( void  )

Service a Short Open Window for the watchdog.

Returns
sint8 0: success, <0: error codes

◆ PMU_setGPIOWakeCfg()

INLINE sint8 PMU_setGPIOWakeCfg ( uint8  u8_GPIO,
uint8  u8_enRisingEdge,
uint8  u8_enFallingEdge,
uint8  u8_enCycSen,
tPMU_gpioInput  e_gpioInput 
)

Set a GPIO wake configuration.

Parameters
u8_GPIOGPIO number
u8_enRisingEdge1 to enable the wake-up on rising edge, 0 to disable the wake-up on rising edge
u8_enFallingEdge1 to enable the wake-up on falling edge, 0 to disable the wake-up on falling edge
u8_enCycSen1 to enable the cyclic sense, 0 to disable the cyclic sense
e_gpioInputGPIO input pointer
Returns
sint8 0: success, <0: error codes

◆ PMU_setMONWakeCfg()

INLINE sint8 PMU_setMONWakeCfg ( uint8  u8_MON,
uint8  u8_enRisingEdge,
uint8  u8_enFallingEdge,
uint8  u8_enCycSen,
uint8  u8_enPullupCurrSrc,
uint8  u8_enPulldownCurrSrc 
)

Set a MON wake configuration.

Parameters
u8_MONMON number
u8_enRisingEdge1 to enable the wake-up on rising edge, 0 to disable the wake-up on rising edge
u8_enFallingEdge1 to enable the wake-up on falling edge, 0 to disable the wake-up on falling edge
u8_enCycSen1 to enable the cyclic sense, 0 to disable the cyclic sense
u8_enPullupCurrSrc1 to enable the input pull up current source, 0 to disable it
u8_enPulldownCurrSrc1 to enable the input pull down current source, 0 to disable it
Returns
sint8 0: success, <0: error codes

◆ PMU_setVDDCOvervoltageIntNodePtr()

void PMU_setVDDCOvervoltageIntNodePtr ( void  )

Set VDDC Overvoltage Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ PMU_setVDDCUndervoltageWarnIntNodePtr()

void PMU_setVDDCUndervoltageWarnIntNodePtr ( void  )

Set VDDC Undervoltage Warning Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ PMU_setVDDEXTOvertemperatureIntNodePtr()

void PMU_setVDDEXTOvertemperatureIntNodePtr ( void  )

Set VDDEXT Overtemperature Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ PMU_setVDDEXTUndervoltageIntNodePtr()

void PMU_setVDDEXTUndervoltageIntNodePtr ( void  )

Set VDDEXT Undervoltage Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ PMU_setVDDPOvervoltageIntNodePtr()

void PMU_setVDDPOvervoltageIntNodePtr ( void  )

Set VDDP Overvoltage Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ PMU_setVDDPUndervoltageWarnIntNodePtr()

void PMU_setVDDPUndervoltageWarnIntNodePtr ( void  )

Set VDDP Undervoltage Warning Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ PMU_stopFailSafeWatchdog()

void PMU_stopFailSafeWatchdog ( void  )

Stop the fail-safe watchdog.

Variable Documentation

◆ feature

void use the ConfigWizard to configure this feature