Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/drivers/pinmux/
Dpinmux_stm32.c114 if (STM32_DT_PINMUX_FUNC(mux) == ALTERNATE) { in stm32_dt_pinctrl_configure()
117 } else if (STM32_DT_PINMUX_FUNC(mux) == ANALOG) { in stm32_dt_pinctrl_configure()
120 } else if (STM32_DT_PINMUX_FUNC(mux) == GPIO_IN) { in stm32_dt_pinctrl_configure()
130 __ASSERT_NO_MSG(STM32_DT_PINMUX_FUNC(mux)); in stm32_dt_pinctrl_configure()
133 if (STM32_DT_PINMUX_FUNC(mux) < STM32_ANALOG) { in stm32_dt_pinctrl_configure()
135 } else if (STM32_DT_PINMUX_FUNC(mux) == STM32_ANALOG) { in stm32_dt_pinctrl_configure()
139 __ASSERT_NO_MSG(STM32_DT_PINMUX_FUNC(mux)); in stm32_dt_pinctrl_configure()
146 ret = stm32_pin_configure(pin, func, STM32_DT_PINMUX_FUNC(mux)); in stm32_dt_pinctrl_configure()
Dpinmux_stm32.h59 #define STM32_DT_PINMUX_FUNC(__pin) \ macro
62 #define STM32_DT_PINMUX_FUNC(__pin) \ macro