Searched refs:GPIONumber (Results 1 – 3 of 3) sorted by relevance
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_hal_pwr_ex.c | 408 HAL_StatusTypeDef HAL_PWREx_EnableGPIOPullUp(uint32_t GPIO, uint32_t GPIONumber) in HAL_PWREx_EnableGPIOPullUp() argument 413 assert_param(IS_PWR_GPIO_BIT_NUMBER(GPIONumber)); in HAL_PWREx_EnableGPIOPullUp() 418 SET_BIT(PWR->PUCRA, (GPIONumber & (~(PWR_GPIO_BIT_14)))); in HAL_PWREx_EnableGPIOPullUp() 419 CLEAR_BIT(PWR->PDCRA, (GPIONumber & (~(PWR_GPIO_BIT_13|PWR_GPIO_BIT_15)))); in HAL_PWREx_EnableGPIOPullUp() 422 SET_BIT(PWR->PUCRB, GPIONumber); in HAL_PWREx_EnableGPIOPullUp() 423 CLEAR_BIT(PWR->PDCRB, (GPIONumber & (~(PWR_GPIO_BIT_4)))); in HAL_PWREx_EnableGPIOPullUp() 426 SET_BIT(PWR->PUCRC, GPIONumber); in HAL_PWREx_EnableGPIOPullUp() 427 CLEAR_BIT(PWR->PDCRC, GPIONumber); in HAL_PWREx_EnableGPIOPullUp() 431 SET_BIT(PWR->PUCRD, GPIONumber); in HAL_PWREx_EnableGPIOPullUp() 432 CLEAR_BIT(PWR->PDCRD, GPIONumber); in HAL_PWREx_EnableGPIOPullUp() [all …]
|
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/ |
D | stm32l4xx_ll_pwr.h | 1120 __STATIC_INLINE void LL_PWR_EnableGPIOPullUp(uint32_t GPIO, uint32_t GPIONumber) in LL_PWR_EnableGPIOPullUp() argument 1122 SET_BIT(*((uint32_t *)GPIO), GPIONumber); in LL_PWR_EnableGPIOPullUp() 1167 __STATIC_INLINE void LL_PWR_DisableGPIOPullUp(uint32_t GPIO, uint32_t GPIONumber) in LL_PWR_DisableGPIOPullUp() argument 1169 CLEAR_BIT(*((uint32_t *)GPIO), GPIONumber); in LL_PWR_DisableGPIOPullUp() 1214 __STATIC_INLINE uint32_t LL_PWR_IsEnabledGPIOPullUp(uint32_t GPIO, uint32_t GPIONumber) in LL_PWR_IsEnabledGPIOPullUp() argument 1216 return ((READ_BIT(*((uint32_t *)(GPIO)), GPIONumber) == (GPIONumber)) ? 1UL : 0UL); in LL_PWR_IsEnabledGPIOPullUp() 1261 __STATIC_INLINE void LL_PWR_EnableGPIOPullDown(uint32_t GPIO, uint32_t GPIONumber) in LL_PWR_EnableGPIOPullDown() argument 1264 SET_BIT(*((uint32_t *)(temp)), GPIONumber); in LL_PWR_EnableGPIOPullDown() 1309 __STATIC_INLINE void LL_PWR_DisableGPIOPullDown(uint32_t GPIO, uint32_t GPIONumber) in LL_PWR_DisableGPIOPullDown() argument 1312 CLEAR_BIT(*((uint32_t *)(temp)), GPIONumber); in LL_PWR_DisableGPIOPullDown() [all …]
|
D | stm32l4xx_hal_pwr_ex.h | 843 HAL_StatusTypeDef HAL_PWREx_EnableGPIOPullUp(uint32_t GPIO, uint32_t GPIONumber); 844 HAL_StatusTypeDef HAL_PWREx_DisableGPIOPullUp(uint32_t GPIO, uint32_t GPIONumber); 845 HAL_StatusTypeDef HAL_PWREx_EnableGPIOPullDown(uint32_t GPIO, uint32_t GPIONumber); 846 HAL_StatusTypeDef HAL_PWREx_DisableGPIOPullDown(uint32_t GPIO, uint32_t GPIONumber);
|