Home
last modified time | relevance | path

Searched refs:wakeupCause (Results 1 – 2 of 2) sorted by relevance

/hal_infineon-3.6.0/mtb-pdl-cat1/drivers/source/
Dcy_syspm_v2.c1010 uint32_t wakeupCause; in Cy_SysPm_GetHibernateWakeupCause() local
1013 wakeupCause = SRSS_PWR_HIB_WAKE_CAUSE; in Cy_SysPm_GetHibernateWakeupCause()
1015 wakeupCausePolarity = (wakeupCause & (uint32_t)(CY_SYSPM_HIB_WAKEUP_LPCOMP0_POLARITY_HIGH_MASK | in Cy_SysPm_GetHibernateWakeupCause()
1020 switch(wakeupCause) in Cy_SysPm_GetHibernateWakeupCause()
1026 wakeupCause = ((uint32_t)CY_SYSPM_HIBERNATE_PIN0_HIGH); in Cy_SysPm_GetHibernateWakeupCause()
1030 wakeupCause = ((uint32_t)CY_SYSPM_HIBERNATE_PIN0_LOW); in Cy_SysPm_GetHibernateWakeupCause()
1039 wakeupCause = ((uint32_t)CY_SYSPM_HIBERNATE_PIN1_HIGH); in Cy_SysPm_GetHibernateWakeupCause()
1043 wakeupCause = ((uint32_t)CY_SYSPM_HIBERNATE_PIN1_LOW); in Cy_SysPm_GetHibernateWakeupCause()
1052 wakeupCause = ((uint32_t)CY_SYSPM_HIBERNATE_LPCOMP0_HIGH); in Cy_SysPm_GetHibernateWakeupCause()
1056 wakeupCause = ((uint32_t)CY_SYSPM_HIBERNATE_LPCOMP0_LOW); in Cy_SysPm_GetHibernateWakeupCause()
[all …]
Dcy_syspm_v4.c895 uint32_t wakeupCause; in Cy_SysPm_GetHibernateWakeupCause() local
898 wakeupCause = SRSS_PWR_HIB_WAKE_CAUSE; in Cy_SysPm_GetHibernateWakeupCause()
900 wakeupCausePolarity = (wakeupCause & (uint32_t)(CY_SYSPM_HIB_WAKEUP_LPCOMP0_POLARITY_HIGH_MASK | in Cy_SysPm_GetHibernateWakeupCause()
905 switch(wakeupCause) in Cy_SysPm_GetHibernateWakeupCause()
911 wakeupCause = ((uint32_t)CY_SYSPM_HIBERNATE_PIN0_HIGH); in Cy_SysPm_GetHibernateWakeupCause()
915 wakeupCause = ((uint32_t)CY_SYSPM_HIBERNATE_PIN0_LOW); in Cy_SysPm_GetHibernateWakeupCause()
924 wakeupCause = ((uint32_t)CY_SYSPM_HIBERNATE_PIN1_HIGH); in Cy_SysPm_GetHibernateWakeupCause()
928 wakeupCause = ((uint32_t)CY_SYSPM_HIBERNATE_PIN1_LOW); in Cy_SysPm_GetHibernateWakeupCause()
937 wakeupCause = ((uint32_t)CY_SYSPM_HIBERNATE_LPCOMP0_HIGH); in Cy_SysPm_GetHibernateWakeupCause()
941 wakeupCause = ((uint32_t)CY_SYSPM_HIBERNATE_LPCOMP0_LOW); in Cy_SysPm_GetHibernateWakeupCause()
[all …]