aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/stm32/f1/gpio.h
diff options
context:
space:
mode:
authorPiotr Esden-Tempski2011-11-14 04:05:35 -0800
committerPiotr Esden-Tempski2011-11-16 18:17:56 -0800
commitc6f30043fd61861d5d2aef6cbc8c8ca1cc93c2fe (patch)
tree2c071ad00eca45c61b2e490414e9150002215cef /include/libopencm3/stm32/f1/gpio.h
parent608ca2a81196ac175a8f850d21998c56d99e976a (diff)
Added UART4 and UART5 gpio definitions for stm32f1. Also corrected the naming everywhere. Both peripherals are UARTS not U_S_ARTS.
Diffstat (limited to 'include/libopencm3/stm32/f1/gpio.h')
-rw-r--r--include/libopencm3/stm32/f1/gpio.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libopencm3/stm32/f1/gpio.h b/include/libopencm3/stm32/f1/gpio.h
index b812876..2387e72 100644
--- a/include/libopencm3/stm32/f1/gpio.h
+++ b/include/libopencm3/stm32/f1/gpio.h
@@ -174,6 +174,14 @@
#define GPIO_TIM1_FR_CH2N GPIO10 /* PE10 */
#define GPIO_TIM1_FR_CH3N GPIO12 /* PE12 */
+/* UART5 */
+#define GPIO_UART5_TX GPIO12 /* PC12 */
+#define GPIO_UART5_RX GPIO2 /* PD2 */
+
+/* UART4 */
+#define GPIO_UART4_TX GPIO10 /* PC10 */
+#define GPIO_UART4_RX GPIO11 /* PC11 */
+
/* USART3 */
#define GPIO_USART3_TX GPIO10 /* PB10 */
#define GPIO_USART3_RX GPIO11 /* PB11 */