|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
26 #if !USE_ARBITRARY_BAUDRATE
36 #include <linux/termios.h>
52 void(*term_conf_callback)(
struct termios *, speed_t *));
void serial_port_free(struct SerialPort *me)
void serial_port_flush(struct SerialPort *me)
void serial_port_flush_output(struct SerialPort *me)
int serial_port_set_baudrate(struct SerialPort *me, speed_t speed)
struct termios cur_termios
int serial_port_open_raw(struct SerialPort *me, const char *device, speed_t speed)
int serial_port_set_bits_stop_parity(struct SerialPort *me, const int bits, const int stop, const int parity)
int serial_port_open(struct SerialPort *me, const char *device, void(*term_conf_callback)(struct termios *, speed_t *))
struct SerialPort * serial_port_new(void)
struct termios orig_termios
void serial_port_close(struct SerialPort *me)