|
PAN1080 Peripheral API
|
Panchip series lowpower driver header file. More...
Go to the source code of this file.
Macros | |
| #define | LP_EXT_P56_WK_EN (1) |
| #define | LP_EXT_P56_WK_DISABLE (0) |
| #define | LP_EXT_P56_WK_EDGE_LOW (0) |
| #define | LP_EXT_P56_WK_EDGE_HIGH (1) |
| #define | LP_WKUP_MODE_SEL_GPIO_P56 (0) |
| #define | LP_WKUP_MODE_SEL_32K (1) |
| #define | LP_WKUP_MODE_SEL_GPIO (2) |
| #define | LP_WKUP_MODE_SEL_WDT (3) |
| #define | LP_WKUP_MODE_SEL_TIMER (4) |
| #define | LP_WKUP_MODE_SEL_KSCAN (5) |
| #define | LP_WKUP_MODE_SEL_QDEC (6) |
Functions | |
| __STATIC_INLINE void | LP_EnableInt (ANA_T *ana, uint32_t u32Mask) |
| This function enable lowpower intterrupt. More... | |
| __STATIC_INLINE void | LP_ClearWakeFlag (ANA_T *ana, uint32_t u32Mask) |
| This function wait to clear wake up flag. More... | |
| __STATIC_INLINE void | LP_RequestDeepSleep (ANA_T *ana) |
| This function request to enter deepsleep. More... | |
| __STATIC_INLINE void | LP_ResetDigital (ANA_T *ana, FunctionalState NewState) |
| This function request to reset digital. More... | |
| void | LP_SetExternalWake (ANA_T *ana, FunctionalState NewState, uint8_t WkEdge) |
| This function enable gpio p56 wake up. More... | |
| void | LP_SetSleepTime (ANA_T *ana, uint32_t u32ClkCnt) |
| This function set sleep time. More... | |
| void | LP_SetDigitalDelay (ANA_T *ana, uint16_t u16Clk32Cnt) |
| This function used to set digital reset time. More... | |
| void | LP_SetSleepModeConfig (ANA_T *ana, uint32_t wkMode, bool enterCyclically) |
| This function set sleep mode config. More... | |
| void | LP_SetDeepSleepConfig (ANA_T *ana, uint32_t wkMode, bool enterCyclically) |
| This function set deep sleep mode config. More... | |
| void | LP_SetStandbyConfig (ANA_T *ana, uint32_t wkMode, uint8_t PowerCtrl) |
| This function set standby mode config. More... | |
| void | LP_SetStandbyMode0Config (ANA_T *ana, uint32_t wkMode) |
| This function set standby mode0 config. More... | |
| void | LP_SetStandbyMode1Config (ANA_T *ana, uint32_t wkMode) |
| This function set standby mode1 config. More... | |
Panchip series lowpower driver header file.