![]() |
Infineon MOTIX™ MCU TLE988x/9x Device Family SDK
|
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 |
#define PMU_WAKEUPSRC_ALL_SRC (0x11FF73F7UL) |
PMU Wake-up source all sources.
#define PMU_WAKEUPSRC_ALLGPIOS (0x3F0UL) |
PMU Wake-up source all GPIOs.
#define PMU_WAKEUPSRC_CAN PMU_WAKE_CTRL_CAN_WAKE_EN_Msk |
PMU Wake-up source CAN.
#define PMU_WAKEUPSRC_CYCLICSENSE (2u) |
PMU Wake-up source cyclic sense.
#define PMU_WAKEUPSRC_CYCLICWAKE PMU_WAKE_CTRL_CYC_WAKE_EN_Msk |
PMU Wake-up source cyclic wake.
#define PMU_WAKEUPSRC_GPIO0 PMU_WAKE_CTRL_GPIO0_WAKE_EN_Msk |
PMU Wake-up source GPIO0.
#define PMU_WAKEUPSRC_GPIO1 PMU_WAKE_CTRL_GPIO1_WAKE_EN_Msk |
PMU Wake-up source GPIO1.
#define PMU_WAKEUPSRC_GPIO2 PMU_WAKE_CTRL_GPIO2_WAKE_EN_Msk |
PMU Wake-up source GPIO2.
#define PMU_WAKEUPSRC_GPIO3 PMU_WAKE_CTRL_GPIO3_WAKE_EN_Msk |
PMU Wake-up source GPIO3.
#define PMU_WAKEUPSRC_GPIO4 PMU_WAKE_CTRL_GPIO4_WAKE_EN_Msk |
PMU Wake-up source GPIO4.
#define PMU_WAKEUPSRC_GPIO5 PMU_WAKE_CTRL_GPIO5_WAKE_EN_Msk |
PMU Wake-up source GPIO5.
#define PMU_WAKEUPSRC_MON1 PMU_WAKE_CTRL_MON0_WAKE_EN_Msk |
PMU Wake-up source MON1.
#define PMU_WAKEUPSRC_MON2 PMU_WAKE_CTRL_MON1_WAKE_EN_Msk |
PMU Wake-up source MON2.
#define PMU_WAKEUPSRC_MON3 PMU_WAKE_CTRL_MON2_WAKE_EN_Msk |
PMU Wake-up source MON3.
#define PMU_WAKEUPSRC_VDDC_HCM PMU_WAKE_CTRL_VDDC_HCM_WAKE_EN_Msk |
PMU Wake-up source VDDC HCM.
#define PMU_WAKEUPSRC_VDDC_OV PMU_WAKE_CTRL_VDDC_OV_WAKE_EN_Msk |
PMU Wake-up source VDDC OV.
#define PMU_WAKEUPSRC_VDDC_UV PMU_WAKE_CTRL_VDDC_UVWARN_WAKE_EN_Msk |
PMU Wake-up source VDDC UV.
#define PMU_WAKEUPSRC_VDDEXT_OT PMU_WAKE_CTRL_VDDEXT_OT_WAKE_EN_Msk |
PMU Wake-up source VDDEXT OT.
#define PMU_WAKEUPSRC_VDDEXT_UV PMU_WAKE_CTRL_VDDEXT_UV_WAKE_EN_Msk |
PMU Wake-up source VDDEXT UV.
#define PMU_WAKEUPSRC_VDDP_HCM PMU_WAKE_CTRL_VDDP_HCM_WAKE_EN_Msk |
PMU Wake-up source VDDP HCM.
#define PMU_WAKEUPSRC_VDDP_OV PMU_WAKE_CTRL_VDDP_OV_WAKE_EN_Msk |
PMU Wake-up source VDP OV.
#define PMU_WAKEUPSRC_VDDP_UV PMU_WAKE_CTRL_VDDP_UVWARN_WAKE_EN_Msk |
PMU Wake-up source VDDP UV.
#define PMU_WAKEUPSRC_VSD_OV PMU_WAKE_CTRL_VSDOV_WAKE_EN_Msk |
PMU Wake-up source VSD OV.
typedef enum PMU_gpioInput tPMU_gpioInput |
enum PMU_gpioInput |
This enum lists the gpio input pointer.
INLINE void PMU_clrCANWakeSts | ( | void | ) |
Clear CAN wake-up status.
INLINE void PMU_clrCSCEnFailSts | ( | void | ) |
Clear CSC enabling fail status.
INLINE void PMU_clrCSCOvercurrentSts | ( | void | ) |
Clear CSC overcurrent status.
INLINE void PMU_clrCSCSelfTestFailSts | ( | void | ) |
Clear CSC self-test fail status.
INLINE void PMU_clrCyclicWakeSts | ( | void | ) |
Clear cyclic wake-up status.
INLINE void PMU_clrFailOutputSts | ( | void | ) |
Clear fail output status.
void PMU_clrFailSafeWatchdogFailSts | ( | void | ) |
Clear the fail-safe watchdog fail status.
INLINE void PMU_clrFailSafeWDRstSts | ( | void | ) |
Clear fail safe watchdog reset status.
INLINE void PMU_clrFailSleepExitRstSts | ( | void | ) |
Clear fail sleep mode exit reset status.
INLINE void PMU_clrFOOvercurrentSts | ( | void | ) |
Clear FO overcurrent status.
INLINE void PMU_clrGPIO0WakeSts | ( | void | ) |
Clear GPIO0 wake-up status.
INLINE void PMU_clrGPIO1WakeSts | ( | void | ) |
Clear GPIO1 wake-up status.
INLINE void PMU_clrGPIO2WakeSts | ( | void | ) |
Clear GPIO2 wake-up status.
INLINE void PMU_clrGPIO3WakeSts | ( | void | ) |
Clear GPIO3 wake-up status.
INLINE void PMU_clrGPIO4WakeSts | ( | void | ) |
Clear GPIO4 wake-up status.
INLINE void PMU_clrGPIO5WakeSts | ( | void | ) |
Clear GPIO5 wake-up status.
INLINE void PMU_clrHPClkFailSts | ( | void | ) |
Clear HP clock fail status.
INLINE void PMU_clrLockupRstSts | ( | void | ) |
Clear ARM core lockup reset status.
INLINE void PMU_clrMON1WakeSts | ( | void | ) |
Clear MON1 wake-up status.
INLINE void PMU_clrMON2WakeSts | ( | void | ) |
Clear MON2 wake-up status.
INLINE void PMU_clrMON3WakeSts | ( | void | ) |
Clear MON3 wake-up status.
INLINE void PMU_clrMstrClkWDFailSts | ( | void | ) |
Clear master clock watchdog fail status.
INLINE void PMU_clrMstrClkWDRstSts | ( | void | ) |
Clear master clock watchdog reset status.
INLINE void PMU_clrMstrSupplyOvervoltageSts | ( | void | ) |
Clear master supply overvoltage status.
INLINE void PMU_clrMstrSupplyUndervoltageRstSts | ( | void | ) |
Clear master supply undervoltage reset status.
INLINE void PMU_clrMstrSupplyUndervoltageSts | ( | void | ) |
Clear master supply undervoltage status.
INLINE void PMU_clrPinMonitorFailSts | ( | void | ) |
Clear pin monitor fail status.
INLINE void PMU_clrPinRstSts | ( | void | ) |
Clear pin reset status.
INLINE void PMU_clrSafeShutdownSts | ( | void | ) |
Clear safe shutdown status.
INLINE void PMU_clrSecureStackOverflowRstSts | ( | void | ) |
Clear secure stack overflow reset status.
INLINE void PMU_clrSeqWdFailSts | ( | void | ) |
Clear sequential watchdog fail status.
INLINE void PMU_clrSleepExitRstSts | ( | void | ) |
Clear sleep mode exit reset status.
INLINE void PMU_clrSoftRstSts | ( | void | ) |
Clear soft reset status.
INLINE void PMU_clrStopExitRstSts | ( | void | ) |
Clear stop mode exit reset status.
INLINE void PMU_clrSysOvertemperatureSts | ( | void | ) |
Clear system overtemperature status.
INLINE void PMU_clrVAREFOvervoltageSts | ( | void | ) |
Clear VAREF overvoltage status.
INLINE void PMU_clrVDDCHighCurrentModeSts | ( | void | ) |
Clear VDDC high current mode status.
INLINE void PMU_clrVDDCHighCurrentModeWakeSts | ( | void | ) |
Clear VDDC high current mode wake-up status.
INLINE void PMU_clrVDDCOvercurrentSts | ( | void | ) |
Clear VDDC overcurrent status.
INLINE void PMU_clrVDDCOvervoltageIntSts | ( | void | ) |
Clear VDDC overvoltage interrupt status.
INLINE void PMU_clrVDDCOvervoltageSts | ( | void | ) |
Clear VDDC overvoltage status.
INLINE void PMU_clrVDDCOvervoltageWakeSts | ( | void | ) |
Clear VDDC overvoltage wake-up status.
INLINE void PMU_clrVDDCRegulatorTimeoutSts | ( | void | ) |
Clear VDDC regulator timeout status.
INLINE void PMU_clrVDDCUndervoltageRstSts | ( | void | ) |
Clear VDDC undervoltage reset status.
INLINE void PMU_clrVDDCUndervoltageSts | ( | void | ) |
Clear VDDC undervoltage status.
INLINE void PMU_clrVDDCUndervoltageWarnIntSts | ( | void | ) |
Clear VDDC undervoltage warning interrupt status.
INLINE void PMU_clrVDDCUndervoltageWarnSts | ( | void | ) |
Clear VDDC undervoltage warning status.
INLINE void PMU_clrVDDCUndervoltageWarnWakeSts | ( | void | ) |
Clear VDDC undervoltage warning wake-up status.
INLINE void PMU_clrVDDEXTOvertemperatureIntSts | ( | void | ) |
Clear VDDEXT overtemperature interrupt status.
INLINE void PMU_clrVDDEXTOvertemperatureSts | ( | void | ) |
Clear VDDEXT overtemperature status.
INLINE void PMU_clrVDDEXTOvertemperatureWakeSts | ( | void | ) |
Clear VDDEXT overtemperature wake-up status.
INLINE void PMU_clrVDDEXTUndervoltageIntSts | ( | void | ) |
Clear VDDEXT undervoltage interrupt status.
INLINE void PMU_clrVDDEXTUndervoltageSts | ( | void | ) |
Clear VDDEXT undervoltage status.
INLINE void PMU_clrVDDEXTUndervoltageWakeSts | ( | void | ) |
Clear VDDEXT undervoltage wake-up status.
INLINE void PMU_clrVDDPCurrentLimitSts | ( | void | ) |
Clear VDDP current limitation status.
INLINE void PMU_clrVDDPHighCurrentModeSts | ( | void | ) |
Clear VDDP high current mode status.
INLINE void PMU_clrVDDPHighCurrentModeWakeSts | ( | void | ) |
Clear VDDP high current mode wake-up status.
INLINE void PMU_clrVDDPOvertemperatureSts | ( | void | ) |
Clear VDDP overtemperature status.
INLINE void PMU_clrVDDPOvervoltageIntSts | ( | void | ) |
Clear VDDP overvoltage interrupt status.
INLINE void PMU_clrVDDPOvervoltageSts | ( | void | ) |
Clear VDDP overvoltage status.
INLINE void PMU_clrVDDPOvervoltageWakeSts | ( | void | ) |
Clear VDDP overvoltage wake-up status.
INLINE void PMU_clrVDDPRegulatorOvertemperatureSts | ( | void | ) |
Clear VDDP regulator overtemperature status.
INLINE void PMU_clrVDDPRegulatorTimeoutSts | ( | void | ) |
Clear VDDP regulator timeout status.
INLINE void PMU_clrVDDPUndervoltageRstSts | ( | void | ) |
Clear VDDP undervoltage reset status.
INLINE void PMU_clrVDDPUndervoltageSts | ( | void | ) |
Clear VDDP undervoltage status.
INLINE void PMU_clrVDDPUndervoltageWarnIntSts | ( | void | ) |
Clear VDDP undervoltage warning interrupt status.
INLINE void PMU_clrVDDPUndervoltageWarnSts | ( | void | ) |
Clear VDDP undervoltage warning status.
INLINE void PMU_clrVDDPUndervoltageWarnWakeSts | ( | void | ) |
Clear VDDP undervoltage warning wake-up status.
INLINE void PMU_clrVSDOvervoltageWakeSts | ( | void | ) |
Clear VSD overvoltage wake-up status.
INLINE void PMU_clrWDFailSts | ( | void | ) |
Clear watchdog fail status.
INLINE void PMU_clrWDSelfTestFailSts | ( | void | ) |
Clear watchdog self-test fail status.
INLINE void PMU_clrWDTimerRstSts | ( | void | ) |
Clear MCU watchdog timer reset status.
void PMU_countFailSafeWatchdog | ( | void | ) |
Count up since the last watchdog trigger.
INLINE void PMU_disFailInputPullUp | ( | void | ) |
Disable the failure input pull up.
INLINE void PMU_disResetPin | ( | void | ) |
Disable the Reset Pin.
INLINE void PMU_disStopModeVDDCReduct | ( | void | ) |
Disable VDDC reduction in Stop Mode.
INLINE void PMU_disVDDCOvervoltageInt | ( | void | ) |
Disable VDDC overvoltage interrupt.
INLINE void PMU_disVDDCUndervoltageWarnInt | ( | void | ) |
Disable VDDC undervoltage warning interrupt.
INLINE void PMU_disVDDEXTOvertemperatureInt | ( | void | ) |
Disable VDDEXT overtemperature interrupt.
INLINE void PMU_disVDDEXTUndervoltageInt | ( | void | ) |
Disable VDDEXT undervoltage interrupt.
INLINE void PMU_disVDDPOvervoltageInt | ( | void | ) |
Disable VDDP overvoltage interrupt.
INLINE void PMU_disVDDPUndervoltageWarnInt | ( | void | ) |
Disable VDDP undervoltage warning interrupt.
Disable a wake-up source.
u32_wakeupSrc | Wake-up sources to be disabled, defines prepared (PMU_WAKEUPSRC_*) |
INLINE void PMU_enFailInputPullUp | ( | void | ) |
Enable the failure input pull up.
INLINE void PMU_enResetPin | ( | void | ) |
Enable the Reset pin.
INLINE void PMU_enStopModeVDDCReduct | ( | void | ) |
Enable VDDC reduction in Stop Mode.
INLINE void PMU_enVDDCOvervoltageInt | ( | void | ) |
Enable VDDC overvoltage interrupt.
INLINE void PMU_enVDDCUndervoltageWarnInt | ( | void | ) |
Enable VDDC undervoltage warning interrupt.
INLINE void PMU_enVDDEXTOvertemperatureInt | ( | void | ) |
Enable VDDEXT overtemperature interrupt.
INLINE void PMU_enVDDEXTUndervoltageInt | ( | void | ) |
Enable VDDEXT undervoltage interrupt.
INLINE void PMU_enVDDPOvervoltageInt | ( | void | ) |
Enable VDDP overvoltage interrupt.
INLINE void PMU_enVDDPUndervoltageWarnInt | ( | void | ) |
Enable VDDP undervoltage warning interrupt.
Enable a wake-up source.
u32_wakeupSrc | Wake-up sources to be enabled, defines prepared (PMU_WAKEUPSRC_*) |
Get CSC enabling fail status.
Get CSC overcurrent status.
Get CSC self-test fail status.
Get cyclic wake-up status.
Get fail safe watchdog reset status.
Get fail sleep mode exit reset status.
Get FO overcurrent status.
Get GPIO0 wake-up status.
Get GPIO1 wake-up status.
Get GPIO2 wake-up status.
Get GPIO3 wake-up status.
Get GPIO4 wake-up status.
Get GPIO5 wake-up status.
Get HP clock fail status.
Get ARM core lockup reset status.
Get master clock watchdog fail status.
Get master clock watchdog reset status.
Get master supply overvoltage status.
Get master supply undervoltage reset status.
Get master supply undervoltage status.
Get pin monitor fail status.
Get safe shutdown status.
Get secure stack overflow reset status.
Get sequential watchdog fail status.
Get sleep mode exit reset status.
Get stop mode exit reset status.
Get system overtemperature status.
Get VAREF overvoltage status.
Get VDDC high current mode status.
Get VDDC high current mode wake-up status.
Get VDDC overcurrent status.
Get VDDC overvoltage interrupt status.
Get VDDC overvoltage status.
Get VDDC overvoltage wake-up status.
Get VDDC regulator timeout status.
Get VDDC undervoltage reset status.
Get VDDC undervoltage status.
Get VDDC undervoltage warning interrupt status.
Get VDDC undervoltage warning status.
Get VDDC undervoltage warning wake-up status.
Get VDDEXT overtemperature interrupt status.
Get VDDEXT overtemperature status.
Get VDDEXT overtemperature wake-up status.
Get VDDEXT undervoltage interrupt status.
Get VDDEXT undervoltage status.
Get VDDEXT undervoltage wake-up status.
Get VDDP current limitation status.
Get VDDP high current mode status.
Get VDDP high current mode wake-up status.
Get VDDP overtemperature status.
Get VDDP overvoltage interrupt status.
Get VDDP overvoltage status.
Get VDDP overvoltage wake-up status.
Get VDDP regulator overtemperature status.
Get VDDP regulator timeout status.
Get VDDP undervoltage reset status.
Get VDDP undervoltage status.
Get VDDP undervoltage warning interrupt status.
Get VDDP undervoltage warning status.
Get VDDP undervoltage warning wake-up status.
Get VSD overvoltage wake-up status.
Get watchdog self-test fail status.
Get MCU watchdog timer reset status.
sint8 PMU_init | ( | void | ) |
Initialize all CW registers of the PMU module.
sint8 PMU_initFailSafeWatchdog | ( | void | ) |
Initialize the fail-safe watchdog.
sint8 PMU_serviceFailSafeWatchdog | ( | void | ) |
Service the fail-safe watchdog.
sint8 PMU_serviceFailSafeWatchdogSOW | ( | void | ) |
Service a Short Open Window for the watchdog.
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.
u8_GPIO | GPIO number |
u8_enRisingEdge | 1 to enable the wake-up on rising edge, 0 to disable the wake-up on rising edge |
u8_enFallingEdge | 1 to enable the wake-up on falling edge, 0 to disable the wake-up on falling edge |
u8_enCycSen | 1 to enable the cyclic sense, 0 to disable the cyclic sense |
e_gpioInput | GPIO input pointer |
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.
u8_MON | MON number |
u8_enRisingEdge | 1 to enable the wake-up on rising edge, 0 to disable the wake-up on rising edge |
u8_enFallingEdge | 1 to enable the wake-up on falling edge, 0 to disable the wake-up on falling edge |
u8_enCycSen | 1 to enable the cyclic sense, 0 to disable the cyclic sense |
u8_enPullupCurrSrc | 1 to enable the input pull up current source, 0 to disable it |
u8_enPulldownCurrSrc | 1 to enable the input pull down current source, 0 to disable it |
void PMU_setVDDCOvervoltageIntNodePtr | ( | void | ) |
Set VDDC Overvoltage Interrupt Node Pointer.
void PMU_setVDDCUndervoltageWarnIntNodePtr | ( | void | ) |
Set VDDC Undervoltage Warning Interrupt Node Pointer.
void PMU_setVDDEXTOvertemperatureIntNodePtr | ( | void | ) |
Set VDDEXT Overtemperature Interrupt Node Pointer.
void PMU_setVDDEXTUndervoltageIntNodePtr | ( | void | ) |
Set VDDEXT Undervoltage Interrupt Node Pointer.
void PMU_setVDDPOvervoltageIntNodePtr | ( | void | ) |
Set VDDP Overvoltage Interrupt Node Pointer.
void PMU_setVDDPUndervoltageWarnIntNodePtr | ( | void | ) |
Set VDDP Undervoltage Warning Interrupt Node Pointer.
void PMU_stopFailSafeWatchdog | ( | void | ) |
Stop the fail-safe watchdog.
void use the ConfigWizard to configure this feature |