Home
last modified time | relevance | path

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

/hal_stm32-latest/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_pwr.c524 uint32_t wakeuppin; in HAL_PWR_GetClearWakeupSource() local
527 wakeuppin = PWR->WUSR; in HAL_PWR_GetClearWakeupSource()
530 PWR->WUSCR = wakeuppin; in HAL_PWR_GetClearWakeupSource()
532 return wakeuppin; in HAL_PWR_GetClearWakeupSource()
802 uint32_t wakeuppin; in HAL_PWR_WKUP_IRQHandler() local
804 wakeuppin = HAL_PWR_GetClearWakeupSource(); in HAL_PWR_WKUP_IRQHandler()
807 if ((wakeuppin & PWR_WUSR_WUF1) != 0U) in HAL_PWR_WKUP_IRQHandler()
813 if ((wakeuppin & PWR_WUSR_WUF2) != 0U) in HAL_PWR_WKUP_IRQHandler()
819 if ((wakeuppin & PWR_WUSR_WUF3) != 0U) in HAL_PWR_WKUP_IRQHandler()
825 if ((wakeuppin & PWR_WUSR_WUF4) != 0U) in HAL_PWR_WKUP_IRQHandler()
[all …]
/hal_stm32-latest/stm32cube/stm32wb0x/drivers/src/
Dstm32wb0x_hal_pwr.c306 uint32_t wakeuppin; in HAL_PWR_GetClearWakeupSource() local
309 wakeuppin = LL_PWR_GetWakeupSource(); in HAL_PWR_GetClearWakeupSource()
312 LL_PWR_ClearWakeupSource(wakeuppin); in HAL_PWR_GetClearWakeupSource()
314 return wakeuppin; in HAL_PWR_GetClearWakeupSource()
566 uint32_t wakeuppin; in HAL_PWR_WKUP_IRQHandler() local
568 wakeuppin = HAL_PWR_GetClearWakeupSource(); in HAL_PWR_WKUP_IRQHandler()
571 if (wakeuppin != 0U) in HAL_PWR_WKUP_IRQHandler()
573 HAL_PWR_WKUPx_Callback(wakeuppin); in HAL_PWR_WKUP_IRQHandler()