11 #ifndef __SERIALPORT_H
12 #define __SERIALPORT_H
int serialport_flush_input(serialport_t *sps)
serialport_t * serialport_open(const char *name)
int serialport_write(serialport_t *sps, unsigned char *data, unsigned int bytes)
int serialport_config(serialport_t *sps, unsigned int baud)
int serialport_close(serialport_t *sps)
int serialport_byte(serialport_t *sps, unsigned char byte)
struct s_SERIALPORT_STRUCT serialport_t
Serial Port structure.