11 #ifndef __MG32L003_PWR_H 12 #define __MG32L003_PWR_H 39 #define PWR_SLEEPENTRY_WFI ((uint8_t)0x01) 40 #define PWR_SLEEPENTRY_WFE ((uint8_t)0x02) 53 #define IS_PWR_SLEEP_ENTRY(ENTRY) (((ENTRY) == PWR_SLEEPENTRY_WFI) || ((ENTRY) == PWR_SLEEPENTRY_WFE)) void PWR_EnableSleepOnExit(void)
Indicates Sleep-On-Exit when returning from Handler mode to Thread mode.
Definition: mg32l003_pwr.c:93
void PWR_DisableSEVOnPend(void)
Disables CORTEX M0+ SEVONPEND bit.
Definition: mg32l003_pwr.c:129
void PWR_DisableSleepOnExit(void)
Disables Sleep-On-Exit feature when returning from Handler mode to Thread mode.
Definition: mg32l003_pwr.c:105
void PWR_EnterDEEPSLEEPMode(void)
Enters Deep Sleep mode.
Definition: mg32l003_pwr.c:72
void PWR_EnterSLEEPMode(uint8_t SLEEPEntry)
Enters Sleep mode.
Definition: mg32l003_pwr.c:44
void PWR_EnableSEVOnPend(void)
Enables CORTEX M0+ SEVONPEND bit.
Definition: mg32l003_pwr.c:117