struct axl::io::SerialSettings
#include <axl_io_SerialSettings.h>
struct SerialSettings
{
// fields
uint_t m_baudRate;
uint_t m_dataBits;
SerialStopBits m_stopBits;
SerialParity m_parity;
SerialFlowControl m_flowControl;
uint_t m_readInterval;
bool m_dtr;
bool m_rts;
// construction
SerialSettings();
SerialSettings(
uint_t baudRate,
uint_t dataBits = 8,
SerialStopBits stopBits = SerialStopBits_1,
SerialParity parity = SerialParity_None,
SerialFlowControl flowControl = SerialFlowControl_None,
uint_t readInterval = 10,
bool dtr = true,
bool rts = true
);
// methods
void
setup(
uint_t baudRate,
uint_t dataBits = 8,
SerialStopBits stopBits = SerialStopBits_1,
SerialParity parity = SerialParity_None,
SerialFlowControl flowControl = SerialFlowControl_None,
uint_t readInterval = 10,
bool dtr = true,
bool rts = true
);
};