summaryrefslogtreecommitdiff
path: root/software/cmx589a_teensy_test/uart.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2012-02-22 21:27:27 +0000
committerChristian Pointner <equinox@mur.at>2012-02-22 21:27:27 +0000
commit3c67ba97955922e6047deae561ac7106bea14a91 (patch)
tree11243400a551dddd720f8352533185605ee4c4f1 /software/cmx589a_teensy_test/uart.h
parentsome random rx (diff)
moved cmx589 sample code software directory
git-svn-id: https://svn.spreadspace.org/mur.sat@248 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/cmx589a_teensy_test/uart.h')
-rw-r--r--software/cmx589a_teensy_test/uart.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/software/cmx589a_teensy_test/uart.h b/software/cmx589a_teensy_test/uart.h
new file mode 100644
index 0000000..41136a3
--- /dev/null
+++ b/software/cmx589a_teensy_test/uart.h
@@ -0,0 +1,11 @@
+#ifndef _uart_included_h_
+#define _uart_included_h_
+
+#include <stdint.h>
+
+void uart_init(uint32_t baud);
+void uart_putchar(uint8_t c);
+uint8_t uart_getchar(void);
+uint8_t uart_available(void);
+
+#endif