#include <serial_port.h>
Public Types | |
enum | Parity { NO_PARITY, EVEN_PARITY, ODD_PARITY } |
Public Member Functions | |
SerialConfig () | |
SerialConfig (int32_t baud, int32_t data_bits, int32_t stop_bits, Parity parity, bool flow_control, bool low_latency_mode, bool writable) | |
Public Attributes | |
int32_t | baud |
int32_t | data_bits |
bool | flow_control |
bool | low_latency_mode |
Parity | parity |
int32_t | stop_bits |
bool | writable |
Structure defining serial port configuration parameters.
Definition at line 43 of file serial_port.h.
Definition at line 45 of file serial_port.h.
Default constructor.
baud = 115200 parity = NO_PARITY flow control = false data bits = 8 stop bits = 1 low latency mode = false
Definition at line 45 of file serial_port.cpp.
swri_serial_util::SerialConfig::SerialConfig | ( | int32_t | baud, |
int32_t | data_bits, | ||
int32_t | stop_bits, | ||
Parity | parity, | ||
bool | flow_control, | ||
bool | low_latency_mode, | ||
bool | writable | ||
) |
Definition at line 56 of file serial_port.cpp.
Definition at line 73 of file serial_port.h.
Definition at line 74 of file serial_port.h.
Definition at line 77 of file serial_port.h.
Definition at line 78 of file serial_port.h.
Definition at line 76 of file serial_port.h.
Definition at line 75 of file serial_port.h.
Definition at line 79 of file serial_port.h.