/****************************************************************************/
/* Copyright 2009 MBARI.                                                    */
/* MBARI Proprietary Information. All rights reserved.                      */
/****************************************************************************/
#ifndef SERIAL_H
#define SERIAL_H

void serInit(); 

int serGetByte(int port, unsigned char* b);
int serPutByte(int port, unsigned char b);
int serPutString(int port, char* buff);

int serIsRxFull(int port);
int serIsTxFull(int port);

int serGetRxOverFlow(int port);
void serClrRxOverFlow(int port);

void serRxFlush(int port);
void serTxFlush(int port);

#endif

