|
MC Protocol Serial C++ 0.2.3
MC protocol serial library for MCU-oriented environments
|
Host-side serial-port configuration used by PosixSerialPort.
More...
#include <posix_serial.hpp>
Public Attributes | |
| std::string_view | device_path {} |
| std::uint32_t | baud_rate = 9600 |
| std::uint8_t | data_bits = 8 |
| std::uint8_t | stop_bits = 1 |
| char | parity = 'N' |
| bool | rts_cts = false |
Host-side serial-port configuration used by PosixSerialPort.
device_path accepts /dev/... style paths on POSIX systems and COM3 or \\.\COM10 style names on Windows.
Definition at line 16 of file posix_serial.hpp.
| std::uint32_t mcprotocol::serial::PosixSerialConfig::baud_rate = 9600 |
Definition at line 18 of file posix_serial.hpp.
| std::uint8_t mcprotocol::serial::PosixSerialConfig::data_bits = 8 |
Definition at line 19 of file posix_serial.hpp.
| std::string_view mcprotocol::serial::PosixSerialConfig::device_path {} |
Definition at line 17 of file posix_serial.hpp.
| char mcprotocol::serial::PosixSerialConfig::parity = 'N' |
Definition at line 21 of file posix_serial.hpp.
| bool mcprotocol::serial::PosixSerialConfig::rts_cts = false |
Definition at line 22 of file posix_serial.hpp.
| std::uint8_t mcprotocol::serial::PosixSerialConfig::stop_bits = 1 |
Definition at line 20 of file posix_serial.hpp.