Searched refs:pin_cgf (Results 1 – 1 of 1) sorted by relevance
201 static int stm32_pin_configure(uint32_t pin, uint32_t pin_cgf, uint32_t pin_func) in stm32_pin_configure() argument215 return gpio_stm32_configure(port_device, STM32_PIN(pin), pin_cgf, pin_func); in stm32_pin_configure()222 uint32_t pin_cgf = 0; in pinctrl_configure_pins() local241 pin_cgf = pins[i].pincfg | STM32_MODE_OUTPUT | STM32_CNF_ALT_FUNC; in pinctrl_configure_pins()243 pin_cgf = pins[i].pincfg | STM32_MODE_INPUT | STM32_CNF_IN_ANALOG; in pinctrl_configure_pins()245 pin_cgf = pins[i].pincfg | STM32_MODE_INPUT; in pinctrl_configure_pins()246 pupd = pin_cgf & (STM32_PUPD_MASK << STM32_PUPD_SHIFT); in pinctrl_configure_pins()248 pin_cgf = pin_cgf | STM32_CNF_IN_FLOAT; in pinctrl_configure_pins()250 pin_cgf = pin_cgf | STM32_CNF_IN_PUPD; in pinctrl_configure_pins()253 pin_cgf = pins[i].pincfg | STM32_MODE_OUTPUT | STM32_CNF_GP_OUTPUT; in pinctrl_configure_pins()[all …]