Azure Sphere MT3620 M4 API Reference Manual
|
This section introduces the enumerations that LP should configure before entering LP. More...
This section introduces the enumerations that LP should configure before entering LP.
Enumerations | |
enum | dslp_check { PRE_DEEP_SLEEP = 0, POST_DEEP_SLEEP } |
DSLP enter/exit stage definition Before entering DSLP, user should use the PRE_DEEP_SLEEP parameter to call mtk_os_hal_lp_dslp_check() to clear deep sleep bit. More... | |
enum | lp_scenario { CPU_CLOCK_GATING = 0, LEGACY_SLEEP, DEEP_SLEEP } |
LP three scenarios definition Users should select the following parameters when entering related low power scenario. More... | |
enum | lp_wakeup_src { EINT_WAKEUP_SRC_0 = (1 << 0), EINT_WAKEUP_SRC_1 = (1 << 1), EINT_WAKEUP_SRC_2 = (1 << 2), EINT_WAKEUP_SRC_3 = (1 << 3), EINT_WAKEUP_SRC_4 = (1 << 4), EINT_WAKEUP_SRC_5 = (1 << 5), EINT_WAKEUP_SRC_6 = (1 << 6), EINT_WAKEUP_SRC_7 = (1 << 7), EINT_WAKEUP_SRC_8 = (1 << 8), EINT_WAKEUP_SRC_9 = (1 << 9), EINT_WAKEUP_SRC_10 = (1 << 10), EINT_WAKEUP_SRC_11 = (1 << 11), EINT_WAKEUP_SRC_12 = (1 << 12), EINT_WAKEUP_SRC_13 = (1 << 13), EINT_WAKEUP_SRC_14 = (1 << 14), EINT_WAKEUP_SRC_15 = (1 << 15), EINT_WAKEUP_SRC_16 = (1 << 16), EINT_WAKEUP_SRC_17 = (1 << 17), EINT_WAKEUP_SRC_18 = (1 << 18), EINT_WAKEUP_SRC_19 = (1 << 19), EINT_WAKEUP_SRC_20 = (1 << 20), EINT_WAKEUP_SRC_21 = (1 << 21), EINT_WAKEUP_SRC_22 = (1 << 22), EINT_WAKEUP_SRC_23 = (1 << 23), GPT3_WAKEUP_SRC_24 = (1 << 24), WAKEUP_SRC_MAX = 25 } |
LP wake-up source definition Users should select the following parameter to configure wake-up source in mtk_os_hal_lp_enter(). More... | |
enum dslp_check |
DSLP enter/exit stage definition Before entering DSLP, user should use the PRE_DEEP_SLEEP parameter to call mtk_os_hal_lp_dslp_check() to clear deep sleep bit.
When the system has resumed, users can use the POST_DEEP_SLEEP parameter to check whether the system resumes from DSLP scenario.
Enumerator | |
---|---|
PRE_DEEP_SLEEP |
It is used before entering DSLP stage. |
POST_DEEP_SLEEP |
It is used after exiting DSLP stage. |
enum lp_scenario |
enum lp_wakeup_src |
LP wake-up source definition Users should select the following parameter to configure wake-up source in mtk_os_hal_lp_enter().