Logo Search packages:      
Sourcecode: libserial version File versions  Download package

void SerialPort::SetNumOfStopBits ( const StopBits  numOfStopBits  )  throw ( NotOpen, std::invalid_argument )

Set the number of stop bits to be used with the serial port.

NotOpen Thrown if this method is called while the serial port is not open.
std::invalid_argument Thrown if an invalid number of stop bits is specified.

Definition at line 354 of file SerialPort.cpp.

    mSerialPortImpl->SetNumOfStopBits(numOfStopBits) ;
    return ;

Generated by  Doxygen 1.6.0   Back to index