Searched refs:STM32_MODER_SHIFT (Results 1 – 3 of 3) sorted by relevance
82 #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
87 ((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) | \
292 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()