diff options
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 | ||
