Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/dt-bindings/pinctrl/
Dstm32-pinctrl.h82 #define STM32_MODER_INPUT_MODE (0x0 << STM32_MODER_SHIFT)
83 #define STM32_MODER_OUTPUT_MODE (0x1 << STM32_MODER_SHIFT)
84 #define STM32_MODER_ALT_MODE (0x2 << STM32_MODER_SHIFT)
85 #define STM32_MODER_ANALOG_MODE (0x3 << STM32_MODER_SHIFT)
87 #define STM32_MODER_SHIFT 4 macro
/Zephyr-latest/soc/st/stm32/common/
Dpinctrl_soc.h87 ((STM32_GPIO_OUTPUT * DT_PROP(node_id, output_low)) << STM32_MODER_SHIFT) | \
88 ((STM32_GPIO_OUTPUT * DT_PROP(node_id, output_high)) << STM32_MODER_SHIFT) | \
/Zephyr-latest/drivers/gpio/
Dgpio_stm32.c292 mode = conf & (STM32_MODER_MASK << STM32_MODER_SHIFT); in gpio_stm32_configure_raw()
323 LL_GPIO_SetPinMode(gpio, pin_ll, mode >> STM32_MODER_SHIFT); in gpio_stm32_configure_raw()