Gavan Fantom
14 years ago
3 changed files with 10 additions and 12 deletions
@ -1,11 +1,13 @@ |
|||||||
#ifndef __UART_H |
#ifndef __UART_H |
||||||
#define __UART_H |
#define __UART_H |
||||||
|
|
||||||
|
#include "types.h" |
||||||
|
|
||||||
void init_uart(void); |
void init_uart(void); |
||||||
void putch(char c); |
void putch(char c); |
||||||
void putstr(char *s); |
void putstr(char *s); |
||||||
void putint(unsigned int n); |
void putint(unsigned int n); |
||||||
void puthex(unsigned int n); |
void puthex(unsigned int n); |
||||||
char getch(void); |
bool getch(char *c); |
||||||
|
|
||||||
#endif /* __UART_H */ |
#endif /* __UART_H */ |
||||||
|
Loading…
Reference in new issue