Struct SerialConfig

Struct Documentation

struct SerialConfig

Structure defining serial port configuration parameters.

Public Types

enum Parity

Values:

enumerator NO_PARITY
enumerator EVEN_PARITY
enumerator ODD_PARITY

Public Functions

SerialConfig()

Default constructor.

baud = 115200 parity = NO_PARITY flow control = false data bits = 8 stop bits = 1 low latency mode = false

SerialConfig(int32_t baud, int32_t data_bits, int32_t stop_bits, Parity parity, bool flow_control, bool low_latency_mode, bool writable)

Public Members

int32_t baud
int32_t data_bits
int32_t stop_bits
Parity parity
bool flow_control
bool low_latency_mode
bool writable