FreeCalypso > hg > freecalypso-reveng
view fluid-mnf/serial.h @ 327:b5b8df53aa51
frbl/reconst/command.c: missing break in switch case
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 06 Mar 2020 04:10:21 +0000 |
parents | 9cecc930d78f |
children | 6ff231195905 |
line wrap: on
line source
/****************************************************************************** * FLUID (Flash Loader Utility Independent of Device) * * Copyright Texas Instruments, 2001. * Mads Meisner-Jensen, mmj@ti.com. * * Serial/UART driver * * $Id: serial.h 1.8 Wed, 04 Sep 2002 16:32:18 +0200 mmj $ * ******************************************************************************/ int serial_init(int uart, int baudrate, char *flowcontrol); int serial_is_baudrate(int bps); int serial_baudrate_set(int baudrate); int serial_baudrate_get(void); void serial_exit(void); void serial_reset(void); 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); void serial_recv_reset(void); void serial_rts(char state); void serial_dtr(char state); void serial_break(char state);