The unified diff between revisions [8760ae92..] and [4cc7246c..] 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 [4cc7246c1b6c809c9dc15997798f6deed15b3631] # # add_file "uart.h" # content [4acdb1f160b933d1653b3ac765f110cd71332112] # ============================================================ --- /dev/null +++ uart.h 4acdb1f160b933d1653b3ac765f110cd71332112 @@ -0,0 +1,14 @@ +#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 putint_s(int n); +void puthex(unsigned int n); +bool getch(char *c); + +#endif /* __UART_H */