29#define LP_EXT_P56_WK_EN (1)
30#define LP_EXT_P56_WK_DISABLE (0)
35#define LP_EXT_P56_WK_EDGE_LOW (0)
36#define LP_EXT_P56_WK_EDGE_HIGH (1)
42#define LP_WKUP_MODE_SEL_GPIO_P56 (0)
43#define LP_WKUP_MODE_SEL_32K (1)
44#define LP_WKUP_MODE_SEL_GPIO (2)
45#define LP_WKUP_MODE_SEL_WDT (3)
46#define LP_WKUP_MODE_SEL_TIMER (4)
47#define LP_WKUP_MODE_SEL_KSCAN (5)
48#define LP_WKUP_MODE_SEL_QDEC (6)
61 ana->LP_INT_CTRL |= u32Mask;
72 ana->LP_INT_CTRL = (ana->LP_INT_CTRL & (~(ANAC_INT_STANDBY_INT_FLG_Msk |
73 ANAC_INT_SLEEP_INT_FLG_Msk | ANAC_INT_P56_WKUP_FLG_Msk |
74 ANAC_INT_TMR32K_WKUP_FLG_Msk | ANAC_SRAM_RETENTION_FLG_Msk))) | u32Mask;
84 ana->LP_FL_CTRL |= ANAC_FL_DEEPSLEEP_REQUEST_Msk;
95 (NewState)?(ana->LP_RST_CTRL |= ANAC_DIG_RST_EN_Msk):(ana->LP_RST_CTRL &= ~ANAC_DIG_RST_EN_Msk);
__STATIC_INLINE void LP_RequestDeepSleep(ANA_T *ana)
This function request to enter deepsleep.
Definition: pan_lp.h:82
void LP_SetDeepSleepConfig(ANA_T *ana, uint32_t wkMode, bool enterCyclically)
This function set deep sleep mode config.
__STATIC_INLINE void LP_EnableInt(ANA_T *ana, uint32_t u32Mask)
This function enable lowpower intterrupt.
Definition: pan_lp.h:59
void LP_SetDigitalDelay(ANA_T *ana, uint16_t u16Clk32Cnt)
This function used to set digital reset time.
void LP_SetSleepModeConfig(ANA_T *ana, uint32_t wkMode, bool enterCyclically)
This function set sleep mode config.
__STATIC_INLINE void LP_ResetDigital(ANA_T *ana, FunctionalState NewState)
This function request to reset digital.
Definition: pan_lp.h:93
__STATIC_INLINE void LP_ClearWakeFlag(ANA_T *ana, uint32_t u32Mask)
This function wait to clear wake up flag.
Definition: pan_lp.h:70
void LP_SetStandbyConfig(ANA_T *ana, uint32_t wkMode, uint8_t PowerCtrl)
This function set standby mode config.
void LP_SetStandbyMode1Config(ANA_T *ana, uint32_t wkMode)
This function set standby mode1 config.
void LP_SetSleepTime(ANA_T *ana, uint32_t u32ClkCnt)
This function set sleep time.
void LP_SetStandbyMode0Config(ANA_T *ana, uint32_t wkMode)
This function set standby mode0 config.
void LP_SetExternalWake(ANA_T *ana, FunctionalState NewState, uint8_t WkEdge)
This function enable gpio p56 wake up.