FreeCalypso > hg > freecalypso-reveng
diff fluid-mnf/serial.h @ 342:6ff231195905
fluid-mnf/serial.[ch]: beginning of Linux port
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 13 Mar 2020 05:39:37 +0000 |
parents | 9cecc930d78f |
children | 37b5f94de802 |
line wrap: on
line diff
--- a/fluid-mnf/serial.h Fri Mar 13 02:51:54 2020 +0000 +++ b/fluid-mnf/serial.h Fri Mar 13 05:39:37 2020 +0000 @@ -8,6 +8,9 @@ * * $Id: serial.h 1.8 Wed, 04 Sep 2002 16:32:18 +0200 mmj $ * + * This serial interface handling architecture has been majorly redesigned + * by Mychaela N. Falconia for the present fluid-mnf Linux port. + * ******************************************************************************/ int serial_init(int uart, int baudrate, char *flowcontrol); @@ -20,8 +23,7 @@ int serial_transfer_time(int size); int serial_send(char *buf, int size); -int serial_putchar(unsigned char ch); -int serial_recv(char *buf, int size); +int serial_recv(char *buf, int size, int timeout); void serial_recv_reset(void); void serial_rts(char state);