SERIAL++ library: simple serial port access
◆
baud9600()
void serialport::SerialPort::baud9600
(
)
const
select 9600 baud
Definition at line
159
of file
serialport.cc
.
References
Mfd
.
160
{
161
struct
termios options;
162
::tcgetattr(
Mfd
, &options);
163
::cfsetispeed(&options, B9600);
164
::cfsetospeed(&options, B9600);
165
::tcsetattr(
Mfd
, TCSANOW, &options);
166
}
// void SerialPort::baud9600() const
serialport::SerialPort::Mfd
int Mfd
file descriptor to this port
Definition:
serialport.h:90
serialport
SerialPort
Generated on Mon Aug 21 2023 17:36:31 for SERIAL++ library: simple serial port access by
1.8.14