Class: RubySerial::Win32::DCB

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/rubyserial/windows_constants.rb

Constant Summary collapse

Sizeof =

uint32 fNull :1; uint32 fRtsControl :2; uint32 fAbortOnError :1; uint32 fDummy2 :17;

28
ONESTOPBIT =
0
TWOSTOPBITS =
2
STOPBITS =
{
  1 => ONESTOPBIT,
  2 => TWOSTOPBITS
}
NOPARITY =
0
ODDPARITY =
1
EVENPARITY =
2
PARITY =
{
  :none => NOPARITY,
  :odd  => ODDPARITY,
  :even => EVENPARITY
}