Veethree D7 SDK
Loading...
Searching...
No Matches
vsdk::comms::port_attributes Struct Reference

Detailed Description

Structure representing serial port configuration attributes.

This structure holds the configuration settings for a serial port.

Example:

@ bits1
One stop bit.
Definition serial_port_common.h:91
@ rs232
RS232 mode.
Definition serial_port_common.h:155
@ uart115200
115200 baud
Definition serial_port_common.h:58
@ none
No parity.
Definition serial_port_common.h:75
@ bits8
8 data bits
Definition serial_port_common.h:107
@ port1
RS232 port.
Definition serial_port_common.h:138
Structure representing serial port configuration attributes.
Definition serial_port_common.h:177
port_alias port
The port alias.
Definition serial_port_common.h:178
port_data_bits data_bits
The number of data bits.
Definition serial_port_common.h:182
port_mode uart_mode
The UART mode.
Definition serial_port_common.h:183
port_stop_bits stop_bits
The number of stop bits.
Definition serial_port_common.h:181
port_baud_rate baud_rate
The baud rate.
Definition serial_port_common.h:179
port_parity parity
The parity setting.
Definition serial_port_common.h:180

#include <serial_port_common.h>

Public Attributes

port_alias port {}
 The port alias.
port_baud_rate baud_rate {}
 The baud rate.
port_parity parity {}
 The parity setting.
port_stop_bits stop_bits {}
 The number of stop bits.
port_data_bits data_bits {}
 The number of data bits.
port_mode uart_mode {}
 The UART mode.
std::string device_name
 The user-defined device name.

Detailed Description

Structure representing serial port configuration attributes.

This structure holds the configuration settings for a serial port.

Example:


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