Lines Matching refs:wakeupSource

1030 void Cy_SysPm_SetHibernateWakeupSource(uint32_t wakeupSource)  in Cy_SysPm_SetHibernateWakeupSource()  argument
1032 CY_ASSERT_L3(CY_SYSPM_IS_WAKE_UP_SOURCE_VALID(wakeupSource)); in Cy_SysPm_SetHibernateWakeupSource()
1036 if (0U != _FLD2VAL(SRSS_PWR_HIBERNATE_POLARITY_HIBPIN, wakeupSource)) in Cy_SysPm_SetHibernateWakeupSource()
1039 if (0U != (wakeupSource & CY_SYSPM_HIB_WAKEUP_LPCOMP0_MASK)) in Cy_SysPm_SetHibernateWakeupSource()
1044 if (0U != (wakeupSource & CY_SYSPM_HIB_WAKEUP_LPCOMP1_MASK)) in Cy_SysPm_SetHibernateWakeupSource()
1049 if (0U != (wakeupSource & CY_SYSPM_HIB_WAKEUP_PIN0_MASK)) in Cy_SysPm_SetHibernateWakeupSource()
1054 if (0U != (wakeupSource & CY_SYSPM_HIB_WAKEUP_PIN1_MASK)) in Cy_SysPm_SetHibernateWakeupSource()
1061 …ET(CY_PRA_INDX_SRSS_PWR_HIBERNATE, (SRSS_PWR_HIBERNATE & (uint32_t) ~polarityMask) | wakeupSource); in Cy_SysPm_SetHibernateWakeupSource()
1063 SRSS_PWR_HIBERNATE = (SRSS_PWR_HIBERNATE & (uint32_t) ~polarityMask) | wakeupSource; in Cy_SysPm_SetHibernateWakeupSource()
1071 void Cy_SysPm_ClearHibernateWakeupSource(uint32_t wakeupSource) in Cy_SysPm_ClearHibernateWakeupSource() argument
1073 CY_ASSERT_L3(CY_SYSPM_IS_WAKE_UP_SOURCE_VALID(wakeupSource)); in Cy_SysPm_ClearHibernateWakeupSource()
1075 …uint32_t clearWakeupSourceMask = wakeupSource & (uint32_t) ~SRSS_PWR_HIBERNATE_POLARITY_HIBPIN_Msk; in Cy_SysPm_ClearHibernateWakeupSource()
1077 if (0U != _FLD2VAL(SRSS_PWR_HIBERNATE_POLARITY_HIBPIN, wakeupSource)) in Cy_SysPm_ClearHibernateWakeupSource()
1080 …if ((uint32_t) CY_SYSPM_HIBERNATE_LPCOMP0_HIGH == (wakeupSource & (uint32_t) CY_SYSPM_HIBERNATE_LP… in Cy_SysPm_ClearHibernateWakeupSource()
1085 …if ((uint32_t) CY_SYSPM_HIBERNATE_LPCOMP1_HIGH == (wakeupSource & (uint32_t) CY_SYSPM_HIBERNATE_LP… in Cy_SysPm_ClearHibernateWakeupSource()
1090 …if ((uint32_t) CY_SYSPM_HIBERNATE_PIN0_HIGH == (wakeupSource & (uint32_t) CY_SYSPM_HIBERNATE_PIN0_… in Cy_SysPm_ClearHibernateWakeupSource()
1095 …if ((uint32_t) CY_SYSPM_HIBERNATE_PIN1_HIGH == (wakeupSource & (uint32_t) CY_SYSPM_HIBERNATE_PIN1_… in Cy_SysPm_ClearHibernateWakeupSource()