X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=rpikern;a=blobdiff_plain;f=src%2Fserial.h;fp=src%2Fserial.h;h=785457e17528e84a00eb9a1c8d19d506b07582dc;hp=0000000000000000000000000000000000000000;hb=9a3655a43358c43128f6e62c8d74ff3aa81960c7;hpb=322d8fe4bf7ecd74ffb5288539efd3db828aa72a;ds=sidebyside diff --git a/src/serial.h b/src/serial.h new file mode 100644 index 0000000..785457e --- /dev/null +++ b/src/serial.h @@ -0,0 +1,11 @@ +#ifndef SERIAL_H_ +#define SERIAL_H_ + +void init_serial(int baud); + +void ser_putchar(int c); +int ser_getchar(void); + +void ser_printstr(const char *s); + +#endif /* SERIAL_H_ */