stm32_pinctrl: remove duplicate definition
remove duplicate definition of STM32PIN Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
This commit is contained in:
parent
f619cbc6fb
commit
84da7e362f
1 changed files with 0 additions and 9 deletions
|
@ -28,18 +28,9 @@
|
|||
#define STM32_PORTS_MAX (STM32_PORTK + 1)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief helper macro to encode an IO port pin in a numerical format
|
||||
*/
|
||||
#define STM32PIN(_port, _pin) \
|
||||
(_port << 4 | _pin)
|
||||
|
||||
|
||||
#define STM32_PINMUX_FUNC_GPIO 0
|
||||
#define STM32_PINMUX_FUNC_ANALOG (STM32_PINMUX_FUNC_ALT_MAX)
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @brief helper macro to encode an IO port pin in a numerical format
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue