The unified diff between revisions [8760ae92..] and [68c54ace..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'uart.h'
# # old_revision [8760ae9232295422550b79f09e55122390704b3c] # new_revision [68c54ace6787b0823a233e780455f7371665a228] # # add_file "uart.h" # content [0b8aacd8b3674937065175bb8fd6ce1feafd477e] # ============================================================ --- /dev/null +++ uart.h 0b8aacd8b3674937065175bb8fd6ce1feafd477e @@ -0,0 +1,13 @@ +#ifndef __UART_H +#define __UART_H + +#include "types.h" + +void init_uart(void); +void putch(char c); +void putstr(char *s); +void putint(unsigned int n); +void puthex(unsigned int n); +bool getch(char *c); + +#endif /* __UART_H */