Public Types | Public Member Functions | Public Attributes
swri_serial_util::SerialConfig Struct Reference

#include <serial_port.h>

List of all members.

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

Detailed Description

Structure defining serial port configuration parameters.

Definition at line 43 of file serial_port.h.


Member Enumeration Documentation

Enumerator:
NO_PARITY 
EVEN_PARITY 
ODD_PARITY 

Definition at line 45 of file serial_port.h.


Constructor & Destructor Documentation

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.


Member Data Documentation

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.


The documentation for this struct was generated from the following files:


swri_serial_util
Author(s): Marc Alban
autogenerated on Thu Jun 6 2019 20:34:57