FreeCalypso > hg > freecalypso-reveng
view fluid-mnf/serial.h @ 402:1b83d07576bf
compal/boot/c123-boot.disasm: missed vector branch at 0x1c
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 15 Jan 2023 00:06:59 +0000 |
parents | 37b5f94de802 |
children |
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 $ * * This serial interface handling architecture has been majorly redesigned * by Mychaela N. Falconia for the present fluid-mnf Linux port. * ******************************************************************************/ int serial_init(char *ttyport, int baudrate); 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_recv(char *buf, int size, int timeout); void serial_recv_reset(void); void serial_rts(char state); void serial_dtr(char state); void serial_break(char state);