Home
last modified time | relevance | path

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

/hal_stm32-latest/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_pwr_ex.c44 #define PWR_PORTG_AVAILABLE_PINS 0x000007FFU /* PG0..PG10 */ macro
47 #define PWR_PORTG_AVAILABLE_PINS 0x00000400U /* PG10 */ macro
336 SET_BIT(PWR->PUCRG, (GPIONumber & PWR_PORTG_AVAILABLE_PINS)); in HAL_PWREx_EnableGPIOPullUp()
337 CLEAR_BIT(PWR->PDCRG, ((GPIONumber & PWR_PORTG_AVAILABLE_PINS) & (~(PWR_GPIO_BIT_10)))); in HAL_PWREx_EnableGPIOPullUp()
391 CLEAR_BIT(PWR->PUCRG, (GPIONumber & PWR_PORTG_AVAILABLE_PINS)); in HAL_PWREx_DisableGPIOPullUp()
458 SET_BIT(PWR->PDCRG, ((GPIONumber & PWR_PORTG_AVAILABLE_PINS) & (~(PWR_GPIO_BIT_10)))); in HAL_PWREx_EnableGPIOPullDown()
459 CLEAR_BIT(PWR->PUCRG, (GPIONumber & PWR_PORTG_AVAILABLE_PINS)); in HAL_PWREx_EnableGPIOPullDown()
513 CLEAR_BIT(PWR->PDCRG, ((GPIONumber & PWR_PORTG_AVAILABLE_PINS) & (~(PWR_GPIO_BIT_10)))); in HAL_PWREx_DisableGPIOPullDown()