#include <TTY_IO.h>
◆ Serial_Params()
ACE_TTY_IO::Serial_Params::Serial_Params |
( |
| ) |
|
◆ baudrate
int ACE_TTY_IO::Serial_Params::baudrate |
Specifies the baudrate at which the communication port operates.
◆ ctsenb
bool ACE_TTY_IO::Serial_Params::ctsenb |
Enable & set CTS mode. Note that RTS & CTS are enabled/disabled together on some systems (RTS/CTS is enabled if either ctsenb
or rtsenb
is set).
◆ databits
unsigned char ACE_TTY_IO::Serial_Params::databits |
Data bits. Valid values 5, 6, 7 and 8 data bits. Additionally Win32 supports 4 data bits.
◆ dsrenb
bool ACE_TTY_IO::Serial_Params::dsrenb |
Controls whether DSR is disabled or enabled (Win32).
◆ dtrdisable
bool ACE_TTY_IO::Serial_Params::dtrdisable |
Controls whether DTR is disabled or enabled.
◆ inpckenb
bool ACE_TTY_IO::Serial_Params::inpckenb |
Enable/disable input parity checking. This option is only applicable on systems which support the POSIX termios API
◆ modem
bool ACE_TTY_IO::Serial_Params::modem |
Specifies if device is a modem (POSIX). If not set modem status lines are ignored.
◆ paritymode
const char* ACE_TTY_IO::Serial_Params::paritymode |
Specifies the parity mode. POSIX supports "none", "even" and "odd" parity. Additionally Win32 supports "mark" and "space" parity modes.
◆ rcvenb
bool ACE_TTY_IO::Serial_Params::rcvenb |
Enable/disable receiver (POSIX).
◆ readmincharacters
unsigned int ACE_TTY_IO::Serial_Params::readmincharacters |
Specifies the minimum number of characters for non-canonical read (POSIX).
◆ readtimeoutmsec
int ACE_TTY_IO::Serial_Params::readtimeoutmsec |
Specifies the time to wait before returning from read. Negative value means infinite timeout.
◆ rtsenb
unsigned char ACE_TTY_IO::Serial_Params::rtsenb |
Enable & set RTS mode. Note that RTS & CTS are enabled/disabled together on some systems (RTS/CTS is enabled if either ctsenb
or rtsenb
is set).
- 0 = Disable RTS.
- 1 = Enable RTS.
- 2 = Enable RTS flow-control handshaking (Win32).
- 3 = Specifies that RTS line will be high if bytes are available for transmission. After transmission RTS will be low (Win32).
◆ stopbits
unsigned char ACE_TTY_IO::Serial_Params::stopbits |
Stop bits. Valid values are 1 and 2.
◆ xinenb
bool ACE_TTY_IO::Serial_Params::xinenb |
Enable/disable software flow control on input.
◆ xofflim
int ACE_TTY_IO::Serial_Params::xofflim |
Specifies the maximum number of bytes in input buffer before XOFF char is sent. Negative value indicates that default value should be used (Win32).
◆ xonlim
int ACE_TTY_IO::Serial_Params::xonlim |
Specifies the minimum number of bytes in input buffer before XON char is sent. Negative value indicates that default value should be used (Win32).
◆ xoutenb
bool ACE_TTY_IO::Serial_Params::xoutenb |
Enable/disable software flow control on output.
The documentation for this struct was generated from the following files: