diff options
author | tmk <hasu@tmk-kbd.com> | 2015-04-10 01:32:04 +0900 |
---|---|---|
committer | tmk <hasu@tmk-kbd.com> | 2015-04-10 01:32:04 +0900 |
commit | a074364c3731d66b56d988c8a6c960a83ea0e0a1 (patch) | |
tree | 5a4ecf854c41b510b4378bacb7c7228297f8bc58 /common/uart.h | |
download | firmware-a074364c3731d66b56d988c8a6c960a83ea0e0a1.tar.gz firmware-a074364c3731d66b56d988c8a6c960a83ea0e0a1.tar.bz2 firmware-a074364c3731d66b56d988c8a6c960a83ea0e0a1.zip |
Squashed 'tmk_core/' content from commit 05caacc
git-subtree-dir: tmk_core
git-subtree-split: 05caaccec92694bb24c8c3c3a9940b96efd4605c
Diffstat (limited to 'common/uart.h')
-rw-r--r-- | common/uart.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/common/uart.h b/common/uart.h new file mode 100644 index 000000000..41136a396 --- /dev/null +++ b/common/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 |