aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/multi/UART/cfg-stm32f407_discovery/portab.c
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-12-03 08:19:59 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-12-03 08:19:59 +0000
commit572c554931e811bd0d32e41cbf99ea1ca46148b7 (patch)
tree6e91d8fcaef6773c351ed83828d4a1140c306614 /testhal/STM32/multi/UART/cfg-stm32f407_discovery/portab.c
parentb2674b8eb32513924bce3f3547f785f51f0254ab (diff)
downloadChibiOS-572c554931e811bd0d32e41cbf99ea1ca46148b7.tar.gz
ChibiOS-572c554931e811bd0d32e41cbf99ea1ca46148b7.tar.bz2
ChibiOS-572c554931e811bd0d32e41cbf99ea1ca46148b7.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11113 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/multi/UART/cfg-stm32f407_discovery/portab.c')
-rw-r--r--testhal/STM32/multi/UART/cfg-stm32f407_discovery/portab.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/testhal/STM32/multi/UART/cfg-stm32f407_discovery/portab.c b/testhal/STM32/multi/UART/cfg-stm32f407_discovery/portab.c
index 1d42746d2..b1b9c2a9d 100644
--- a/testhal/STM32/multi/UART/cfg-stm32f407_discovery/portab.c
+++ b/testhal/STM32/multi/UART/cfg-stm32f407_discovery/portab.c
@@ -34,6 +34,27 @@
/* Module exported variables. */
/*===========================================================================*/
+void txend1(UARTDriver *uartp);
+void txend2(UARTDriver *uartp);
+void rxend(UARTDriver *uartp);
+void rxchar(UARTDriver *uartp, uint16_t c);
+void rxerr(UARTDriver *uartp, uartflags_t e);
+
+/*
+ * UART driver configuration structure.
+ */
+UARTConfig uart_cfg_1 = {
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ 38400,
+ 0,
+ USART_CR2_LINEN,
+ 0
+};
+
/*===========================================================================*/
/* Module local types. */
/*===========================================================================*/