/hal_stm32-3.5.0/stm32cube/stm32mp1xx/drivers/include/ |
D | stm32mp1xx_ll_pwr.h | 671 __STATIC_INLINE void LL_PWR_EnableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_EnableWakeUpPin() argument 673 SET_BIT(PWR->MCUWKUPENR, WakeUpPin); in LL_PWR_EnableWakeUpPin() 693 __STATIC_INLINE void LL_PWR_DisableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_DisableWakeUpPin() argument 695 CLEAR_BIT(PWR->MCUWKUPENR, WakeUpPin); in LL_PWR_DisableWakeUpPin() 715 __STATIC_INLINE uint32_t LL_PWR_IsEnabledWakeUpPin(uint32_t WakeUpPin) in LL_PWR_IsEnabledWakeUpPin() argument 717 return ((READ_BIT(PWR->MCUWKUPENR, WakeUpPin) == (WakeUpPin)) ? 1UL : 0UL); in LL_PWR_IsEnabledWakeUpPin() 737 __STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityLow(uint32_t WakeUpPin) in LL_PWR_SetWakeUpPinPolarityLow() argument 739 SET_BIT(PWR->WKUPCR, (WakeUpPin << PWR_WKUPCR_WKUPP_Pos)); in LL_PWR_SetWakeUpPinPolarityLow() 759 __STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityHigh(uint32_t WakeUpPin) in LL_PWR_SetWakeUpPinPolarityHigh() argument 761 CLEAR_BIT(PWR->WKUPCR, (WakeUpPin << PWR_WKUPCR_WKUPP_Pos)); in LL_PWR_SetWakeUpPinPolarityHigh() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32wbaxx/drivers/include/ |
D | stm32wbaxx_ll_pwr.h | 811 __STATIC_INLINE void LL_PWR_EnableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_EnableWakeUpPin() argument 813 SET_BIT(PWR->WUCR1, WakeUpPin); in LL_PWR_EnableWakeUpPin() 830 __STATIC_INLINE void LL_PWR_DisableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_DisableWakeUpPin() argument 832 CLEAR_BIT(PWR->WUCR1, WakeUpPin); in LL_PWR_DisableWakeUpPin() 849 __STATIC_INLINE uint32_t LL_PWR_IsEnabledWakeUpPin(uint32_t WakeUpPin) in LL_PWR_IsEnabledWakeUpPin() argument 851 return ((READ_BIT(PWR->WUCR1, WakeUpPin) == (WakeUpPin)) ? 1UL : 0UL); in LL_PWR_IsEnabledWakeUpPin() 868 __STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityLow(uint32_t WakeUpPin) in LL_PWR_SetWakeUpPinPolarityLow() argument 870 SET_BIT(PWR->WUCR2, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityLow() 887 __STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityHigh(uint32_t WakeUpPin) in LL_PWR_SetWakeUpPinPolarityHigh() argument 889 CLEAR_BIT(PWR->WUCR2, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityHigh() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/include/ |
D | stm32h5xx_ll_pwr.h | 1138 __STATIC_INLINE void LL_PWR_EnableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_EnableWakeUpPin() argument 1140 SET_BIT(PWR->WUCR, WakeUpPin); in LL_PWR_EnableWakeUpPin() 1157 __STATIC_INLINE void LL_PWR_DisableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_DisableWakeUpPin() argument 1159 CLEAR_BIT(PWR->WUCR, WakeUpPin); in LL_PWR_DisableWakeUpPin() 1176 __STATIC_INLINE uint32_t LL_PWR_IsEnabledWakeUpPin(uint32_t WakeUpPin) in LL_PWR_IsEnabledWakeUpPin() argument 1178 return ((READ_BIT(PWR->WUCR, WakeUpPin) == (WakeUpPin)) ? 1UL : 0UL); in LL_PWR_IsEnabledWakeUpPin() 1202 __STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityLow(uint32_t WakeUpPin) in LL_PWR_SetWakeUpPinPolarityLow() argument 1204 SET_BIT(PWR->WUCR, (WakeUpPin << PWR_WUCR_WUPP1_Pos)); in LL_PWR_SetWakeUpPinPolarityLow() 1228 __STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityHigh(uint32_t WakeUpPin) in LL_PWR_SetWakeUpPinPolarityHigh() argument 1230 CLEAR_BIT(PWR->WUCR, (WakeUpPin << PWR_WUCR_WUPP1_Pos)); in LL_PWR_SetWakeUpPinPolarityHigh() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/include/ |
D | stm32h7xx_ll_pwr.h | 1624 __STATIC_INLINE void LL_PWR_EnableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_EnableWakeUpPin() argument 1626 SET_BIT(PWR->WKUPEPR, WakeUpPin); in LL_PWR_EnableWakeUpPin() 1649 __STATIC_INLINE void LL_PWR_DisableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_DisableWakeUpPin() argument 1651 CLEAR_BIT(PWR->WKUPEPR, WakeUpPin); in LL_PWR_DisableWakeUpPin() 1674 __STATIC_INLINE uint32_t LL_PWR_IsEnabledWakeUpPin(uint32_t WakeUpPin) in LL_PWR_IsEnabledWakeUpPin() argument 1676 return ((READ_BIT(PWR->WKUPEPR, WakeUpPin) == (WakeUpPin)) ? 1UL : 0UL); in LL_PWR_IsEnabledWakeUpPin() 1699 __STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityLow(uint32_t WakeUpPin) in LL_PWR_SetWakeUpPinPolarityLow() argument 1701 SET_BIT(PWR->WKUPEPR, (WakeUpPin << PWR_WKUPEPR_WKUPP1_Pos)); in LL_PWR_SetWakeUpPinPolarityLow() 1724 __STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityHigh(uint32_t WakeUpPin) in LL_PWR_SetWakeUpPinPolarityHigh() argument 1726 CLEAR_BIT(PWR->WKUPEPR, (WakeUpPin << PWR_WKUPEPR_WKUPP1_Pos)); in LL_PWR_SetWakeUpPinPolarityHigh() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32c0xx/drivers/include/ |
D | stm32c0xx_ll_pwr.h | 365 __STATIC_INLINE void LL_PWR_EnableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_EnableWakeUpPin() argument 367 SET_BIT(PWR->CR3, WakeUpPin); in LL_PWR_EnableWakeUpPin() 385 __STATIC_INLINE void LL_PWR_DisableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_DisableWakeUpPin() argument 387 CLEAR_BIT(PWR->CR3, WakeUpPin); in LL_PWR_DisableWakeUpPin() 405 __STATIC_INLINE uint32_t LL_PWR_IsEnabledWakeUpPin(uint32_t WakeUpPin) in LL_PWR_IsEnabledWakeUpPin() argument 407 return ((READ_BIT(PWR->CR3, WakeUpPin) == (WakeUpPin)) ? 1UL : 0UL); in LL_PWR_IsEnabledWakeUpPin() 426 __STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityLow(uint32_t WakeUpPin) in LL_PWR_SetWakeUpPinPolarityLow() argument 428 SET_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityLow() 446 __STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityHigh(uint32_t WakeUpPin) in LL_PWR_SetWakeUpPinPolarityHigh() argument 448 CLEAR_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityHigh() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/include/ |
D | stm32u5xx_ll_pwr.h | 2157 __STATIC_INLINE void LL_PWR_EnableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_EnableWakeUpPin() argument 2159 SET_BIT(PWR->WUCR1, WakeUpPin); in LL_PWR_EnableWakeUpPin() 2176 __STATIC_INLINE void LL_PWR_DisableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_DisableWakeUpPin() argument 2178 CLEAR_BIT(PWR->WUCR1, WakeUpPin); in LL_PWR_DisableWakeUpPin() 2195 __STATIC_INLINE uint32_t LL_PWR_IsEnabledWakeUpPin(uint32_t WakeUpPin) in LL_PWR_IsEnabledWakeUpPin() argument 2197 return ((READ_BIT(PWR->WUCR1, WakeUpPin) == (WakeUpPin)) ? 1UL : 0UL); in LL_PWR_IsEnabledWakeUpPin() 2214 __STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityLow(uint32_t WakeUpPin) in LL_PWR_SetWakeUpPinPolarityLow() argument 2216 SET_BIT(PWR->WUCR2, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityLow() 2233 __STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityHigh(uint32_t WakeUpPin) in LL_PWR_SetWakeUpPinPolarityHigh() argument 2235 CLEAR_BIT(PWR->WUCR2, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityHigh() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32wlxx/drivers/include/ |
D | stm32wlxx_ll_pwr.h | 809 __STATIC_INLINE void LL_PWR_EnableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_EnableWakeUpPin() argument 811 SET_BIT(PWR->CR3, WakeUpPin); in LL_PWR_EnableWakeUpPin() 825 __STATIC_INLINE void LL_PWR_DisableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_DisableWakeUpPin() argument 827 CLEAR_BIT(PWR->CR3, WakeUpPin); in LL_PWR_DisableWakeUpPin() 841 __STATIC_INLINE uint32_t LL_PWR_IsEnabledWakeUpPin(uint32_t WakeUpPin) in LL_PWR_IsEnabledWakeUpPin() argument 843 return ((READ_BIT(PWR->CR3, WakeUpPin) == (WakeUpPin)) ? 1UL : 0UL); in LL_PWR_IsEnabledWakeUpPin() 912 __STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityLow(uint32_t WakeUpPin) in LL_PWR_SetWakeUpPinPolarityLow() argument 914 SET_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityLow() 928 __STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityHigh(uint32_t WakeUpPin) in LL_PWR_SetWakeUpPinPolarityHigh() argument 930 CLEAR_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityHigh() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/include/ |
D | stm32f7xx_ll_pwr.h | 618 __STATIC_INLINE void LL_PWR_EnableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_EnableWakeUpPin() argument 620 SET_BIT(PWR->CSR2, WakeUpPin); in LL_PWR_EnableWakeUpPin() 640 __STATIC_INLINE void LL_PWR_DisableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_DisableWakeUpPin() argument 642 CLEAR_BIT(PWR->CSR2, WakeUpPin); in LL_PWR_DisableWakeUpPin() 662 __STATIC_INLINE uint32_t LL_PWR_IsEnabledWakeUpPin(uint32_t WakeUpPin) in LL_PWR_IsEnabledWakeUpPin() argument 664 return (READ_BIT(PWR->CSR2, WakeUpPin) == (WakeUpPin)); in LL_PWR_IsEnabledWakeUpPin() 684 __STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityLow(uint32_t WakeUpPin) in LL_PWR_SetWakeUpPinPolarityLow() argument 686 SET_BIT(PWR->CR2, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityLow() 706 __STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityHigh(uint32_t WakeUpPin) in LL_PWR_SetWakeUpPinPolarityHigh() argument 708 CLEAR_BIT(PWR->CR2, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityHigh() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32wbxx/drivers/include/ |
D | stm32wbxx_ll_pwr.h | 873 __STATIC_INLINE void LL_PWR_EnableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_EnableWakeUpPin() argument 875 SET_BIT(PWR->CR3, WakeUpPin); in LL_PWR_EnableWakeUpPin() 895 __STATIC_INLINE void LL_PWR_DisableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_DisableWakeUpPin() argument 897 CLEAR_BIT(PWR->CR3, WakeUpPin); in LL_PWR_DisableWakeUpPin() 917 __STATIC_INLINE uint32_t LL_PWR_IsEnabledWakeUpPin(uint32_t WakeUpPin) in LL_PWR_IsEnabledWakeUpPin() argument 919 return ((READ_BIT(PWR->CR3, WakeUpPin) == (WakeUpPin)) ? 1UL : 0UL); in LL_PWR_IsEnabledWakeUpPin() 994 __STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityLow(uint32_t WakeUpPin) in LL_PWR_SetWakeUpPinPolarityLow() argument 996 SET_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityLow() 1016 __STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityHigh(uint32_t WakeUpPin) in LL_PWR_SetWakeUpPinPolarityHigh() argument 1018 CLEAR_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityHigh() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32g0xx/drivers/include/ |
D | stm32g0xx_ll_pwr.h | 835 __STATIC_INLINE void LL_PWR_EnableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_EnableWakeUpPin() argument 837 SET_BIT(PWR->CR3, WakeUpPin); in LL_PWR_EnableWakeUpPin() 858 __STATIC_INLINE void LL_PWR_DisableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_DisableWakeUpPin() argument 860 CLEAR_BIT(PWR->CR3, WakeUpPin); in LL_PWR_DisableWakeUpPin() 881 __STATIC_INLINE uint32_t LL_PWR_IsEnabledWakeUpPin(uint32_t WakeUpPin) in LL_PWR_IsEnabledWakeUpPin() argument 883 return ((READ_BIT(PWR->CR3, WakeUpPin) == (WakeUpPin)) ? 1UL : 0UL); in LL_PWR_IsEnabledWakeUpPin() 959 __STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityLow(uint32_t WakeUpPin) in LL_PWR_SetWakeUpPinPolarityLow() argument 961 SET_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityLow() 982 __STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityHigh(uint32_t WakeUpPin) in LL_PWR_SetWakeUpPinPolarityHigh() argument 984 CLEAR_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityHigh() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/ |
D | stm32u5xx_hal_pwr.c | 470 void HAL_PWR_EnableWakeUpPin(uint32_t WakeUpPin) in HAL_PWR_EnableWakeUpPin() argument 473 assert_param(IS_PWR_WAKEUP_PIN(WakeUpPin)); in HAL_PWR_EnableWakeUpPin() 476 MODIFY_REG(PWR->WUCR2, (PWR_EWUP_MASK & WakeUpPin), (WakeUpPin >> PWR_WUP_POLARITY_SHIFT)); in HAL_PWR_EnableWakeUpPin() 479 MODIFY_REG(PWR->WUCR3, (3UL << (POSITION_VAL(PWR_EWUP_MASK & WakeUpPin) * 2U)), in HAL_PWR_EnableWakeUpPin() 480 (WakeUpPin >> PWR_WUP_SELECT_SIGNAL_SHIFT)); in HAL_PWR_EnableWakeUpPin() 483 SET_BIT(PWR->WUCR1, (PWR_EWUP_MASK & WakeUpPin)); in HAL_PWR_EnableWakeUpPin() 501 void HAL_PWR_DisableWakeUpPin(uint32_t WakeUpPin) in HAL_PWR_DisableWakeUpPin() argument 504 assert_param(IS_PWR_WAKEUP_PIN(WakeUpPin)); in HAL_PWR_DisableWakeUpPin() 507 CLEAR_BIT(PWR->WUCR1, (PWR_EWUP_MASK & WakeUpPin)); in HAL_PWR_DisableWakeUpPin()
|
D | stm32u5xx_hal_pwr_ex.c | 856 void HAL_PWREx_S3WU_IRQHandler(uint32_t WakeUpPin) in HAL_PWREx_S3WU_IRQHandler() argument 859 if ((WakeUpPin & PWR_WAKEUP_PIN1) != 0U) in HAL_PWREx_S3WU_IRQHandler() 867 HAL_PWREx_S3WUCallback(WakeUpPin); in HAL_PWREx_S3WU_IRQHandler() 872 if ((WakeUpPin & PWR_WAKEUP_PIN2) != 0U) in HAL_PWREx_S3WU_IRQHandler() 880 HAL_PWREx_S3WUCallback(WakeUpPin); in HAL_PWREx_S3WU_IRQHandler() 885 if ((WakeUpPin & PWR_WAKEUP_PIN3) != 0U) in HAL_PWREx_S3WU_IRQHandler() 893 HAL_PWREx_S3WUCallback(WakeUpPin); in HAL_PWREx_S3WU_IRQHandler() 898 if ((WakeUpPin & PWR_WAKEUP_PIN4) != 0U) in HAL_PWREx_S3WU_IRQHandler() 906 HAL_PWREx_S3WUCallback(WakeUpPin); in HAL_PWREx_S3WU_IRQHandler() 911 if ((WakeUpPin & PWR_WAKEUP_PIN5) != 0U) in HAL_PWREx_S3WU_IRQHandler() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32l4xx/drivers/include/ |
D | stm32l4xx_ll_pwr.h | 908 __STATIC_INLINE void LL_PWR_EnableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_EnableWakeUpPin() argument 910 SET_BIT(PWR->CR3, WakeUpPin); in LL_PWR_EnableWakeUpPin() 928 __STATIC_INLINE void LL_PWR_DisableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_DisableWakeUpPin() argument 930 CLEAR_BIT(PWR->CR3, WakeUpPin); in LL_PWR_DisableWakeUpPin() 948 __STATIC_INLINE uint32_t LL_PWR_IsEnabledWakeUpPin(uint32_t WakeUpPin) in LL_PWR_IsEnabledWakeUpPin() argument 950 return ((READ_BIT(PWR->CR3, WakeUpPin) == (WakeUpPin)) ? 1UL : 0UL); in LL_PWR_IsEnabledWakeUpPin() 1061 __STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityLow(uint32_t WakeUpPin) in LL_PWR_SetWakeUpPinPolarityLow() argument 1063 SET_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityLow() 1081 __STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityHigh(uint32_t WakeUpPin) in LL_PWR_SetWakeUpPinPolarityHigh() argument 1083 CLEAR_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityHigh() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32g4xx/drivers/include/ |
D | stm32g4xx_ll_pwr.h | 834 __STATIC_INLINE void LL_PWR_EnableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_EnableWakeUpPin() argument 836 SET_BIT(PWR->CR3, WakeUpPin); in LL_PWR_EnableWakeUpPin() 854 __STATIC_INLINE void LL_PWR_DisableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_DisableWakeUpPin() argument 856 CLEAR_BIT(PWR->CR3, WakeUpPin); in LL_PWR_DisableWakeUpPin() 874 __STATIC_INLINE uint32_t LL_PWR_IsEnabledWakeUpPin(uint32_t WakeUpPin) in LL_PWR_IsEnabledWakeUpPin() argument 877 temp = READ_BIT(PWR->CR3, WakeUpPin); in LL_PWR_IsEnabledWakeUpPin() 879 return ((temp == (WakeUpPin))?1U:0U); in LL_PWR_IsEnabledWakeUpPin() 955 __STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityLow(uint32_t WakeUpPin) in LL_PWR_SetWakeUpPinPolarityLow() argument 957 SET_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityLow() 975 __STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityHigh(uint32_t WakeUpPin) in LL_PWR_SetWakeUpPinPolarityHigh() argument [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/include/ |
D | stm32l5xx_ll_pwr.h | 904 __STATIC_INLINE void LL_PWR_EnableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_EnableWakeUpPin() argument 906 SET_BIT(PWR->CR3, WakeUpPin); in LL_PWR_EnableWakeUpPin() 924 __STATIC_INLINE void LL_PWR_DisableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_DisableWakeUpPin() argument 926 CLEAR_BIT(PWR->CR3, WakeUpPin); in LL_PWR_DisableWakeUpPin() 944 __STATIC_INLINE uint32_t LL_PWR_IsEnabledWakeUpPin(uint32_t WakeUpPin) in LL_PWR_IsEnabledWakeUpPin() argument 946 return ((READ_BIT(PWR->CR3, WakeUpPin) == (WakeUpPin)) ? 1UL : 0UL); in LL_PWR_IsEnabledWakeUpPin() 1019 __STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityLow(uint32_t WakeUpPin) in LL_PWR_SetWakeUpPinPolarityLow() argument 1021 SET_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityLow() 1039 __STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityHigh(uint32_t WakeUpPin) in LL_PWR_SetWakeUpPinPolarityHigh() argument 1041 CLEAR_BIT(PWR->CR4, WakeUpPin); in LL_PWR_SetWakeUpPinPolarityHigh() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32wbaxx/drivers/src/ |
D | stm32wbaxx_hal_pwr.c | 470 void HAL_PWR_EnableWakeUpPin(uint32_t WakeUpPin) in HAL_PWR_EnableWakeUpPin() argument 473 assert_param(IS_PWR_WAKEUP_PIN(WakeUpPin)); in HAL_PWR_EnableWakeUpPin() 476 MODIFY_REG(PWR->WUCR2, (PWR_EWUP_MASK & WakeUpPin), (WakeUpPin >> PWR_WUP_POLARITY_SHIFT)); in HAL_PWR_EnableWakeUpPin() 479 MODIFY_REG(PWR->WUCR3, (3UL << (POSITION_VAL(PWR_EWUP_MASK & WakeUpPin) * 2U)), in HAL_PWR_EnableWakeUpPin() 480 (WakeUpPin >> PWR_WUP_SELECT_SIGNAL_SHIFT)); in HAL_PWR_EnableWakeUpPin() 483 SET_BIT(PWR->WUCR1, (PWR_EWUP_MASK & WakeUpPin)); in HAL_PWR_EnableWakeUpPin() 501 void HAL_PWR_DisableWakeUpPin(uint32_t WakeUpPin) in HAL_PWR_DisableWakeUpPin() argument 504 assert_param(IS_PWR_WAKEUP_PIN(WakeUpPin)); in HAL_PWR_DisableWakeUpPin() 507 CLEAR_BIT(PWR->WUCR1, (PWR_EWUP_MASK & WakeUpPin)); in HAL_PWR_DisableWakeUpPin()
|
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/ |
D | stm32h7xx_hal_pwr_ex.c | 1309 assert_param (IS_PWR_WAKEUP_PIN (sPinParams->WakeUpPin)); in HAL_PWREx_EnableWakeUpPin() 1313 pinConfig = sPinParams->WakeUpPin | \ in HAL_PWREx_EnableWakeUpPin() 1314 …(sPinParams->PinPolarity << ((POSITION_VAL(sPinParams->WakeUpPin) + PWR_WKUPEPR_WKUPP1_Pos) & 0x1F… in HAL_PWREx_EnableWakeUpPin() 1315 …(sPinParams->PinPull << (((POSITION_VAL(sPinParams->WakeUpPin) * PWR_WAKEUP_PINS_PULL_SHIFT_OFFSET… in HAL_PWREx_EnableWakeUpPin() 1317 regMask = sPinParams->WakeUpPin | \ in HAL_PWREx_EnableWakeUpPin() 1318 (PWR_WKUPEPR_WKUPP1 << (POSITION_VAL(sPinParams->WakeUpPin) & 0x1FU)) | \ in HAL_PWREx_EnableWakeUpPin() 1319 … (pullMask << ((POSITION_VAL(sPinParams->WakeUpPin) * PWR_WAKEUP_PINS_PULL_SHIFT_OFFSET) & 0x1FU)); in HAL_PWREx_EnableWakeUpPin() 1326 MODIFY_REG (EXTI->IMR2, PWR_EXTI_WAKEUP_PINS_MASK, (sPinParams->WakeUpPin << EXTI_IMR2_IM55_Pos)); in HAL_PWREx_EnableWakeUpPin() 1344 void HAL_PWREx_DisableWakeUpPin (uint32_t WakeUpPin) in HAL_PWREx_DisableWakeUpPin() argument 1347 assert_param (IS_PWR_WAKEUP_PIN (WakeUpPin)); in HAL_PWREx_DisableWakeUpPin() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32f1xx/drivers/include/ |
D | stm32f1xx_ll_pwr.h | 318 __STATIC_INLINE void LL_PWR_EnableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_EnableWakeUpPin() argument 320 SET_BIT(PWR->CSR, WakeUpPin); in LL_PWR_EnableWakeUpPin() 330 __STATIC_INLINE void LL_PWR_DisableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_DisableWakeUpPin() argument 332 CLEAR_BIT(PWR->CSR, WakeUpPin); in LL_PWR_DisableWakeUpPin() 342 __STATIC_INLINE uint32_t LL_PWR_IsEnabledWakeUpPin(uint32_t WakeUpPin) in LL_PWR_IsEnabledWakeUpPin() argument 344 return (READ_BIT(PWR->CSR, WakeUpPin) == (WakeUpPin)); in LL_PWR_IsEnabledWakeUpPin()
|
/hal_stm32-3.5.0/stm32cube/stm32f2xx/drivers/include/ |
D | stm32f2xx_ll_pwr.h | 379 __STATIC_INLINE void LL_PWR_EnableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_EnableWakeUpPin() argument 381 SET_BIT(PWR->CSR, WakeUpPin); in LL_PWR_EnableWakeUpPin() 391 __STATIC_INLINE void LL_PWR_DisableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_DisableWakeUpPin() argument 393 CLEAR_BIT(PWR->CSR, WakeUpPin); in LL_PWR_DisableWakeUpPin() 403 __STATIC_INLINE uint32_t LL_PWR_IsEnabledWakeUpPin(uint32_t WakeUpPin) in LL_PWR_IsEnabledWakeUpPin() argument 405 return (READ_BIT(PWR->CSR, WakeUpPin) == (WakeUpPin)); in LL_PWR_IsEnabledWakeUpPin()
|
/hal_stm32-3.5.0/stm32cube/stm32f0xx/drivers/include/ |
D | stm32f0xx_ll_pwr.h | 384 __STATIC_INLINE void LL_PWR_EnableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_EnableWakeUpPin() argument 386 SET_BIT(PWR->CSR, WakeUpPin); in LL_PWR_EnableWakeUpPin() 412 __STATIC_INLINE void LL_PWR_DisableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_DisableWakeUpPin() argument 414 CLEAR_BIT(PWR->CSR, WakeUpPin); in LL_PWR_DisableWakeUpPin() 440 __STATIC_INLINE uint32_t LL_PWR_IsEnabledWakeUpPin(uint32_t WakeUpPin) in LL_PWR_IsEnabledWakeUpPin() argument 442 return (READ_BIT(PWR->CSR, WakeUpPin) == (WakeUpPin)); in LL_PWR_IsEnabledWakeUpPin()
|
/hal_stm32-3.5.0/stm32cube/stm32f3xx/drivers/include/ |
D | stm32f3xx_ll_pwr.h | 406 __STATIC_INLINE void LL_PWR_EnableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_EnableWakeUpPin() argument 408 SET_BIT(PWR->CSR, WakeUpPin); in LL_PWR_EnableWakeUpPin() 424 __STATIC_INLINE void LL_PWR_DisableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_DisableWakeUpPin() argument 426 CLEAR_BIT(PWR->CSR, WakeUpPin); in LL_PWR_DisableWakeUpPin() 442 __STATIC_INLINE uint32_t LL_PWR_IsEnabledWakeUpPin(uint32_t WakeUpPin) in LL_PWR_IsEnabledWakeUpPin() argument 444 return (READ_BIT(PWR->CSR, WakeUpPin) == (WakeUpPin)); in LL_PWR_IsEnabledWakeUpPin()
|
/hal_stm32-3.5.0/stm32cube/stm32l0xx/drivers/include/ |
D | stm32l0xx_ll_pwr.h | 485 __STATIC_INLINE void LL_PWR_EnableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_EnableWakeUpPin() argument 487 SET_BIT(PWR->CSR, WakeUpPin); in LL_PWR_EnableWakeUpPin() 503 __STATIC_INLINE void LL_PWR_DisableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_DisableWakeUpPin() argument 505 CLEAR_BIT(PWR->CSR, WakeUpPin); in LL_PWR_DisableWakeUpPin() 521 __STATIC_INLINE uint32_t LL_PWR_IsEnabledWakeUpPin(uint32_t WakeUpPin) in LL_PWR_IsEnabledWakeUpPin() argument 523 return (READ_BIT(PWR->CSR, WakeUpPin) == (WakeUpPin)); in LL_PWR_IsEnabledWakeUpPin()
|
/hal_stm32-3.5.0/stm32cube/stm32l1xx/drivers/include/ |
D | stm32l1xx_ll_pwr.h | 482 __STATIC_INLINE void LL_PWR_EnableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_EnableWakeUpPin() argument 484 SET_BIT(PWR->CSR, WakeUpPin); in LL_PWR_EnableWakeUpPin() 500 __STATIC_INLINE void LL_PWR_DisableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_DisableWakeUpPin() argument 502 CLEAR_BIT(PWR->CSR, WakeUpPin); in LL_PWR_DisableWakeUpPin() 518 __STATIC_INLINE uint32_t LL_PWR_IsEnabledWakeUpPin(uint32_t WakeUpPin) in LL_PWR_IsEnabledWakeUpPin() argument 520 return ((READ_BIT(PWR->CSR, WakeUpPin) == WakeUpPin) ? 1UL : 0UL); in LL_PWR_IsEnabledWakeUpPin()
|
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/src/ |
D | stm32h5xx_hal_pwr_ex.c | 580 assert_param(IS_PWR_WAKEUP_PIN(sPinParams->WakeUpPin)); in HAL_PWREx_EnableWakeUpPin() 584 pinConfig = sPinParams->WakeUpPin | \ in HAL_PWREx_EnableWakeUpPin() 585 …(sPinParams->PinPolarity << ((POSITION_VAL(sPinParams->WakeUpPin) + PWR_WUCR_WUPP1_Pos) & 0x1FU)) … in HAL_PWREx_EnableWakeUpPin() 586 …(sPinParams->PinPull << (((POSITION_VAL(sPinParams->WakeUpPin) * PWR_WAKEUP_PINS_PULL_SHIFT_OFFSET… in HAL_PWREx_EnableWakeUpPin() 589 regMask = sPinParams->WakeUpPin | \ in HAL_PWREx_EnableWakeUpPin() 590 (PWR_WUCR_WUPP1 << (POSITION_VAL(sPinParams->WakeUpPin) & 0x1FU)) | \ in HAL_PWREx_EnableWakeUpPin() 591 … (pullMask << ((POSITION_VAL(sPinParams->WakeUpPin) * PWR_WAKEUP_PINS_PULL_SHIFT_OFFSET) & 0x1FU)); in HAL_PWREx_EnableWakeUpPin()
|
/hal_stm32-3.5.0/stm32cube/stm32f4xx/drivers/include/ |
D | stm32f4xx_ll_pwr.h | 787 __STATIC_INLINE void LL_PWR_EnableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_EnableWakeUpPin() argument 789 SET_BIT(PWR->CSR, WakeUpPin); in LL_PWR_EnableWakeUpPin() 806 __STATIC_INLINE void LL_PWR_DisableWakeUpPin(uint32_t WakeUpPin) in LL_PWR_DisableWakeUpPin() argument 808 CLEAR_BIT(PWR->CSR, WakeUpPin); in LL_PWR_DisableWakeUpPin() 825 __STATIC_INLINE uint32_t LL_PWR_IsEnabledWakeUpPin(uint32_t WakeUpPin) in LL_PWR_IsEnabledWakeUpPin() argument 827 return (READ_BIT(PWR->CSR, WakeUpPin) == (WakeUpPin)); in LL_PWR_IsEnabledWakeUpPin()
|