rodbus (C++ API) 1.3.1
Loading...
Searching...
No Matches
rodbus::SerialPortSettings Struct Reference

Serial port settings. More...

#include <rodbus.hpp>

Public Member Functions

 SerialPortSettings ()
 Initialize a serial port configuration. More...
 

Public Attributes

uint32_t baud_rate
 Baud rate (in symbols-per-second) More...
 
DataBits data_bits
 Number of bits used to represent a character sent on the line. More...
 
FlowControl flow_control
 Type of signalling to use for controlling data transfer. More...
 
Parity parity
 Type of parity to use for error checking. More...
 
StopBits stop_bits
 Number of bits to use to signal the end of a character. More...
 

Friends

class CppSerialPortSettingsFriend
 

Detailed Description

Serial port settings.

Constructor & Destructor Documentation

◆ SerialPortSettings()

rodbus::SerialPortSettings::SerialPortSettings ( )

Member Data Documentation

◆ baud_rate

uint32_t rodbus::SerialPortSettings::baud_rate

Baud rate (in symbols-per-second)

◆ data_bits

DataBits rodbus::SerialPortSettings::data_bits

Number of bits used to represent a character sent on the line.

◆ flow_control

FlowControl rodbus::SerialPortSettings::flow_control

Type of signalling to use for controlling data transfer.

◆ parity

Parity rodbus::SerialPortSettings::parity

Type of parity to use for error checking.

◆ stop_bits

StopBits rodbus::SerialPortSettings::stop_bits

Number of bits to use to signal the end of a character.


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