The driver supports SysPm callback for Deep Sleep transition. More...
Functions | |
cy_en_syspm_status_t | Cy_LPComp_DeepSleepCallback (cy_stc_syspm_callback_params_t *callbackParams, cy_en_syspm_callback_mode_t mode) |
Checks the current Enable mode of LPComp and then disables the low-power comparator block if there is no wake-up source from the low-power comparator in Deep Sleep mode. More... | |
The driver supports SysPm callback for Deep Sleep transition.
cy_en_syspm_status_t Cy_LPComp_DeepSleepCallback | ( | cy_stc_syspm_callback_params_t * | callbackParams, |
cy_en_syspm_callback_mode_t | mode | ||
) |
Checks the current Enable mode of LPComp and then disables the low-power comparator block if there is no wake-up source from the low-power comparator in Deep Sleep mode.
Stores the Enabled state of the low-power comparator and then disables the low-power comparator block before going to Low-power modes, and recovers the low-power comparator Enabled state after a wake-up using the stored value.
*callbackParams | The pointer to the cy_stc_syspm_callback_params_t structure. |
mode | Callback mode, see cy_en_syspm_callback_mode_t |