pinmux: stm32f4: Clean-up pinmux header
Clean-up the pinmux header as a preparatory work before adding more pinmuxes. This is achieved by the following two actions: - Reorder the defines by increasing GPIO order to make it easier to add more pinmux over time while avoiding a huge mess - Use tabs to align Change-Id: I07d9ae28f61287748d33dcf638dcbf2e6865517b Signed-off-by: Florian Vaussard <florian.vaussard@heig-vd.ch>
This commit is contained in:
parent
45dde7eb3f
commit
392803e4cc
1 changed files with 7 additions and 7 deletions
|
@ -11,15 +11,15 @@
|
|||
* @file Header for STM32F4 pin multiplexing helper
|
||||
*/
|
||||
|
||||
#define STM32F4_PINMUX_FUNC_PA9_USART1_TX STM32_PINMUX_FUNC_ALT_7
|
||||
#define STM32F4_PINMUX_FUNC_PA10_USART1_RX STM32_PINMUX_FUNC_ALT_7
|
||||
#define STM32F4_PINMUX_FUNC_PA0_PWM2_CH1 STM32_PINMUX_FUNC_ALT_1
|
||||
|
||||
#define STM32F4_PINMUX_FUNC_PB6_USART1_TX STM32_PINMUX_FUNC_ALT_7
|
||||
#define STM32F4_PINMUX_FUNC_PB7_USART1_RX STM32_PINMUX_FUNC_ALT_7
|
||||
#define STM32F4_PINMUX_FUNC_PA2_USART2_TX STM32_PINMUX_FUNC_ALT_7
|
||||
#define STM32F4_PINMUX_FUNC_PA3_USART2_RX STM32_PINMUX_FUNC_ALT_7
|
||||
|
||||
#define STM32F4_PINMUX_FUNC_PA2_USART2_TX STM32_PINMUX_FUNC_ALT_7
|
||||
#define STM32F4_PINMUX_FUNC_PA3_USART2_RX STM32_PINMUX_FUNC_ALT_7
|
||||
#define STM32F4_PINMUX_FUNC_PA9_USART1_TX STM32_PINMUX_FUNC_ALT_7
|
||||
#define STM32F4_PINMUX_FUNC_PA10_USART1_RX STM32_PINMUX_FUNC_ALT_7
|
||||
|
||||
#define STM32F4_PINMUX_FUNC_PA0_PWM2_CH1 STM32_PINMUX_FUNC_ALT_1
|
||||
#define STM32F4_PINMUX_FUNC_PB6_USART1_TX STM32_PINMUX_FUNC_ALT_7
|
||||
#define STM32F4_PINMUX_FUNC_PB7_USART1_RX STM32_PINMUX_FUNC_ALT_7
|
||||
|
||||
#endif /* _STM32F4_PINMUX_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue