Home
last modified time | relevance | path

Searched refs:PWR_PORTH_AVAILABLE_PINS (Results 1 – 5 of 5) sorted by relevance

/hal_stm32-3.5.0/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_pwr_ex.c42 #define PWR_PORTH_AVAILABLE_PINS ((uint32_t)0x0000000B) /* PH0/PH1/PH3 */ macro
44 #define PWR_PORTH_AVAILABLE_PINS ((uint32_t)0x0000000B) /* PH0/PH1/PH3 */ macro
46 #define PWR_PORTH_AVAILABLE_PINS ((uint32_t)0x00000003) /* PH0/PH1 */ macro
48 #define PWR_PORTH_AVAILABLE_PINS ((uint32_t)0x0000FFFF) /* PH0..PH15 */ macro
437 SET_BIT(PWR->PUCRH, (GPIONumber & PWR_PORTH_AVAILABLE_PINS)); in HAL_PWREx_EnableGPIOPullUp()
439 CLEAR_BIT(PWR->PDCRH, ((GPIONumber & PWR_PORTH_AVAILABLE_PINS) & (~(PWR_GPIO_BIT_3)))); in HAL_PWREx_EnableGPIOPullUp()
441 CLEAR_BIT(PWR->PDCRH, (GPIONumber & PWR_PORTH_AVAILABLE_PINS)); in HAL_PWREx_EnableGPIOPullUp()
513 CLEAR_BIT(PWR->PUCRH, (GPIONumber & PWR_PORTH_AVAILABLE_PINS)); in HAL_PWREx_DisableGPIOPullUp()
598 SET_BIT(PWR->PDCRH, ((GPIONumber & PWR_PORTH_AVAILABLE_PINS) & (~(PWR_GPIO_BIT_3)))); in HAL_PWREx_EnableGPIOPullDown()
600 SET_BIT(PWR->PDCRH, (GPIONumber & PWR_PORTH_AVAILABLE_PINS)); in HAL_PWREx_EnableGPIOPullDown()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_pwr_ex.c116 #define PWR_PORTH_AVAILABLE_PINS (0x00008U) macro
121 #define PWR_PORTH_AVAILABLE_PINS (0x00008U) macro
697 if (((GPIO_Pin & PWR_PORTH_AVAILABLE_PINS) == 0U) || \ in HAL_PWREx_EnableStandbyIORetention()
698 ((GPIO_Pin & (~PWR_PORTH_AVAILABLE_PINS)) != 0U)) in HAL_PWREx_EnableStandbyIORetention()
777 if (((GPIO_Pin & PWR_PORTH_AVAILABLE_PINS) == 0U) || \ in HAL_PWREx_DisableStandbyIORetention()
778 ((GPIO_Pin & (~PWR_PORTH_AVAILABLE_PINS)) != 0U)) in HAL_PWREx_DisableStandbyIORetention()
896 if (((GPIO_Pin & PWR_PORTH_AVAILABLE_PINS) == 0U) || \ in HAL_PWREx_DisableStandbyRetainedIOState()
897 ((GPIO_Pin & (~PWR_PORTH_AVAILABLE_PINS)) != 0U)) in HAL_PWREx_DisableStandbyRetainedIOState()
/hal_stm32-3.5.0/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_hal_pwr_ex.c43 #define PWR_PORTH_AVAILABLE_PINS (PWR_GPIO_BIT_3) macro
328 SET_BIT(PWR->PUCRH, (GPIONumber & PWR_PORTH_AVAILABLE_PINS)); in HAL_PWREx_EnableGPIOPullUp()
329 CLEAR_BIT(PWR->PDCRH, (GPIONumber & PWR_PORTH_AVAILABLE_PINS)); in HAL_PWREx_EnableGPIOPullUp()
373 CLEAR_BIT(PWR->PUCRH, (GPIONumber & PWR_PORTH_AVAILABLE_PINS)); in HAL_PWREx_DisableGPIOPullUp()
426 SET_BIT(PWR->PDCRH, (GPIONumber & PWR_PORTH_AVAILABLE_PINS)); in HAL_PWREx_EnableGPIOPullDown()
427 CLEAR_BIT(PWR->PUCRH, (GPIONumber & PWR_PORTH_AVAILABLE_PINS)); in HAL_PWREx_EnableGPIOPullDown()
471 CLEAR_BIT(PWR->PDCRH, (GPIONumber & PWR_PORTH_AVAILABLE_PINS)); in HAL_PWREx_DisableGPIOPullDown()
/hal_stm32-3.5.0/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_pwr_ex.c43 #define PWR_PORTH_AVAILABLE_PINS (PWR_GPIO_BIT_3 | PWR_GPIO_BIT_1 | PWR_GPIO_BIT_0) macro
376 SET_BIT(PWR->PUCRH, (GPIONumber & PWR_PORTH_AVAILABLE_PINS)); in HAL_PWREx_EnableGPIOPullUp()
377 CLEAR_BIT(PWR->PDCRH, (GPIONumber & PWR_PORTH_AVAILABLE_PINS)); in HAL_PWREx_EnableGPIOPullUp()
429 CLEAR_BIT(PWR->PUCRH, (GPIONumber & PWR_PORTH_AVAILABLE_PINS)); in HAL_PWREx_DisableGPIOPullUp()
494 SET_BIT(PWR->PDCRH, (GPIONumber & PWR_PORTH_AVAILABLE_PINS)); in HAL_PWREx_EnableGPIOPullDown()
495 CLEAR_BIT(PWR->PUCRH, (GPIONumber & PWR_PORTH_AVAILABLE_PINS)); in HAL_PWREx_EnableGPIOPullDown()
547 CLEAR_BIT(PWR->PDCRH, (GPIONumber & PWR_PORTH_AVAILABLE_PINS)); in HAL_PWREx_DisableGPIOPullDown()
/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_pwr_ex.c44 #define PWR_PORTH_AVAILABLE_PINS ((uint32_t)0x0000000B) /* PH0/PH1/PH3 */ macro
306 SET_BIT(PWR->PUCRH, (GPIONumber & PWR_PORTH_AVAILABLE_PINS)); in HAL_PWREx_EnableGPIOPullUp()
307 CLEAR_BIT(PWR->PDCRH, (GPIONumber & PWR_PORTH_AVAILABLE_PINS)); in HAL_PWREx_EnableGPIOPullUp()
364 CLEAR_BIT(PWR->PUCRH, (GPIONumber & PWR_PORTH_AVAILABLE_PINS)); in HAL_PWREx_DisableGPIOPullUp()
435 SET_BIT(PWR->PDCRH, (GPIONumber & PWR_PORTH_AVAILABLE_PINS)); in HAL_PWREx_EnableGPIOPullDown()
436 CLEAR_BIT(PWR->PUCRH, (GPIONumber & PWR_PORTH_AVAILABLE_PINS)); in HAL_PWREx_EnableGPIOPullDown()
493 CLEAR_BIT(PWR->PDCRH, (GPIONumber & PWR_PORTH_AVAILABLE_PINS)); in HAL_PWREx_DisableGPIOPullDown()