MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Core::SerialLineSettings Struct Reference

Line setup applied when a serial endpoint opens. More...

#include <GlobalNetworkConfig.hpp>

Collaboration diagram for MayaFlux::Core::SerialLineSettings:

Public Attributes

uint32_t baud_rate { 115200 }
uint8_t data_bits { 8 }
bool dtr_on_open { true }
SerialFlowControl flow_control { SerialFlowControl::NONE }
SerialParity parity { SerialParity::NONE }
bool rts_on_open { true }
uint32_t settle_ms {}
SerialStopBits stop_bits { SerialStopBits::ONE }

Detailed Description

Line setup applied when a serial endpoint opens.

baud_rate may be any value the platform accepts. dtr_on_open and rts_on_open set the control lines at open, and asserting DTR resets some boards, so those are turned off for them. settle_ms is how long the endpoint stays OPENING after the port opens, for boards that restart on open.

Definition at line 109 of file GlobalNetworkConfig.hpp.


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