Specifies the number of stop bits used on the System.IO.Ports.SerialPort object.
You use this enumeration when setting the value of the SerialPort.StopBits property on the System.IO.Ports.SerialPort class. Stop bits separate each unit of data on an asynchronous serial connection. They are also sent continuously when no data is available for transmission.
The System.IO.Ports.SerialPort class throws an ArgumentOutOfRangeException exception when you set the SerialPort.StopBits property to StopBits.None.
| Member Name | Description |
|---|---|
| None |
No stop bits are used. This value is not supported by the SerialPort.StopBits property. |
| One |
One stop bit is used. |
| OnePointFive |
1.5 stop bits are used. |
| Two |
Two stop bits are used. |