diff options
| author | tmk <nobody@nowhere> | 2012-06-07 02:25:15 +0900 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2012-06-07 02:47:33 +0900 |
| commit | f4125707399d11a7d80587659c464b9bcddb8c56 (patch) | |
| tree | 1d2a02e30f8cd103e8f4dc36629c09f6a3d44fef /common/uart.h | |
| parent | 225de7a847a511d004bf909b1334e19497cf2f9d (diff) | |
| download | qmk_firmware-f4125707399d11a7d80587659c464b9bcddb8c56.tar.gz qmk_firmware-f4125707399d11a7d80587659c464b9bcddb8c56.zip | |
Moved files to common, protocol and doc directory
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 @@ | |||
| 1 | #ifndef _uart_included_h_ | ||
| 2 | #define _uart_included_h_ | ||
| 3 | |||
| 4 | #include <stdint.h> | ||
| 5 | |||
| 6 | void uart_init(uint32_t baud); | ||
| 7 | void uart_putchar(uint8_t c); | ||
| 8 | uint8_t uart_getchar(void); | ||
| 9 | uint8_t uart_available(void); | ||
| 10 | |||
| 11 | #endif | ||
