Searched refs:wakeupSource (Results 1 – 5 of 5) sorted by relevance
867 void Cy_SysPm_SetHibernateWakeupSource(uint32_t wakeupSource) in Cy_SysPm_SetHibernateWakeupSource() argument869 CY_ASSERT_L3(CY_SYSPM_IS_WAKE_UP_SOURCE_VALID(wakeupSource)); in Cy_SysPm_SetHibernateWakeupSource()875 …if ((0U != (wakeupSource & (uint32_t)CY_SYSPM_HIBERNATE_LPCOMP0_LOW)) || (0U != (wakeupSource & (u… in Cy_SysPm_SetHibernateWakeupSource()880 …if ((0U != (wakeupSource & (uint32_t)CY_SYSPM_HIBERNATE_LPCOMP1_LOW)) || (0U != (wakeupSource & (u… in Cy_SysPm_SetHibernateWakeupSource()886 …if ((0U != (wakeupSource & (uint32_t)CY_SYSPM_HIBERNATE_PIN0_LOW)) || (0U != (wakeupSource & (uint… in Cy_SysPm_SetHibernateWakeupSource()891 …if ((0U != (wakeupSource & (uint32_t)CY_SYSPM_HIBERNATE_PIN1_LOW)) || (0U != (wakeupSource & (uint… in Cy_SysPm_SetHibernateWakeupSource()897 if (0U != (wakeupSource & (uint32_t)CY_SYSPM_HIBERNATE_RTC_ALARM)) in Cy_SysPm_SetHibernateWakeupSource()903 if (0U != (wakeupSource & (uint32_t)CY_SYSPM_HIBERNATE_WDT)) in Cy_SysPm_SetHibernateWakeupSource()909 if (0U != (wakeupSource & (uint32_t)CY_SYSPM_HIBERNATE_LPCOMP0_HIGH)) in Cy_SysPm_SetHibernateWakeupSource()914 if (0U != (wakeupSource & (uint32_t)CY_SYSPM_HIBERNATE_LPCOMP1_HIGH)) in Cy_SysPm_SetHibernateWakeupSource()[all …]
752 void Cy_SysPm_SetHibernateWakeupSource(uint32_t wakeupSource) in Cy_SysPm_SetHibernateWakeupSource() argument754 CY_ASSERT_L3(CY_SYSPM_IS_WAKE_UP_SOURCE_VALID(wakeupSource)); in Cy_SysPm_SetHibernateWakeupSource()760 …if ((0U != (wakeupSource & (uint32_t)CY_SYSPM_HIBERNATE_LPCOMP0_LOW)) || (0U != (wakeupSource & (u… in Cy_SysPm_SetHibernateWakeupSource()765 …if ((0U != (wakeupSource & (uint32_t)CY_SYSPM_HIBERNATE_LPCOMP1_LOW)) || (0U != (wakeupSource & (u… in Cy_SysPm_SetHibernateWakeupSource()771 …if ((0U != (wakeupSource & (uint32_t)CY_SYSPM_HIBERNATE_PIN0_LOW)) || (0U != (wakeupSource & (uint… in Cy_SysPm_SetHibernateWakeupSource()776 …if ((0U != (wakeupSource & (uint32_t)CY_SYSPM_HIBERNATE_PIN1_LOW)) || (0U != (wakeupSource & (uint… in Cy_SysPm_SetHibernateWakeupSource()782 if (0U != (wakeupSource & (uint32_t)CY_SYSPM_HIBERNATE_RTC_ALARM)) in Cy_SysPm_SetHibernateWakeupSource()788 if (0U != (wakeupSource & (uint32_t)CY_SYSPM_HIBERNATE_WDT)) in Cy_SysPm_SetHibernateWakeupSource()794 if (0U != (wakeupSource & (uint32_t)CY_SYSPM_HIBERNATE_LPCOMP0_HIGH)) in Cy_SysPm_SetHibernateWakeupSource()799 if (0U != (wakeupSource & (uint32_t)CY_SYSPM_HIBERNATE_LPCOMP1_HIGH)) in Cy_SysPm_SetHibernateWakeupSource()[all …]
587 void Cy_SysPm_SetHibernateWakeupSource(uint32_t wakeupSource) in Cy_SysPm_SetHibernateWakeupSource() argument589 CY_ASSERT_L3(CY_SYSPM_IS_WAKE_UP_SOURCE_VALID(wakeupSource)); in Cy_SysPm_SetHibernateWakeupSource()593 if (0U != _FLD2VAL(SRSS_PWR_HIBERNATE_POLARITY_HIBPIN, wakeupSource)) in Cy_SysPm_SetHibernateWakeupSource()596 if (0U != (wakeupSource & CY_SYSPM_HIB_WAKEUP_LPCOMP0_MASK)) in Cy_SysPm_SetHibernateWakeupSource()601 if (0U != (wakeupSource & CY_SYSPM_HIB_WAKEUP_LPCOMP1_MASK)) in Cy_SysPm_SetHibernateWakeupSource()606 if (0U != (wakeupSource & CY_SYSPM_HIB_WAKEUP_PIN0_MASK)) in Cy_SysPm_SetHibernateWakeupSource()611 if (0U != (wakeupSource & CY_SYSPM_HIB_WAKEUP_PIN1_MASK)) in Cy_SysPm_SetHibernateWakeupSource()617 SRSS_PWR_HIBERNATE = (SRSS_PWR_HIBERNATE & (uint32_t) ~polarityMask) | wakeupSource; in Cy_SysPm_SetHibernateWakeupSource()623 void Cy_SysPm_ClearHibernateWakeupSource(uint32_t wakeupSource) in Cy_SysPm_ClearHibernateWakeupSource() argument625 CY_ASSERT_L3(CY_SYSPM_IS_WAKE_UP_SOURCE_VALID(wakeupSource)); in Cy_SysPm_ClearHibernateWakeupSource()[all …]
1030 void Cy_SysPm_SetHibernateWakeupSource(uint32_t wakeupSource) in Cy_SysPm_SetHibernateWakeupSource() argument1032 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[all …]
1701 #define CY_SYSPM_IS_WAKE_UP_SOURCE_VALID(wakeupSource) (0UL == ((wakeupSource) & \ argument5060 void Cy_SysPm_SetHibernateWakeupSource(uint32_t wakeupSource);5080 void Cy_SysPm_ClearHibernateWakeupSource(uint32_t wakeupSource);