aboutsummaryrefslogtreecommitdiff
path: root/stm-uart.h
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2016-04-24 13:05:40 -0400
committerPaul Selkirk <paul@psgd.org>2016-04-24 13:05:40 -0400
commite2e066e137465343cb5143a045196a3e5bddc47f (patch)
tree67e5eacca7ca710a54e1bbcab9f5f6e81f1ad2ba /stm-uart.h
parenta59302fda685722cd003045359a184ad751045c0 (diff)
This time for sure - async receive, and everything that flows from that.
Diffstat (limited to 'stm-uart.h')
-rw-r--r--stm-uart.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stm-uart.h b/stm-uart.h
index 67e9d75..caf87b3 100644
--- a/stm-uart.h
+++ b/stm-uart.h
@@ -39,6 +39,8 @@
#define USART2_BAUD_RATE 115200
+extern UART_HandleTypeDef huart2;
+
extern HAL_StatusTypeDef uart_send_char(uint8_t ch);
extern HAL_StatusTypeDef uart_recv_char(uint8_t *cp);
extern HAL_StatusTypeDef uart_send_string(char *s);