StopBits Enumeration
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Specifies the number of stop bits used on the SerialPort object.
Namespace: System.IO.Ports
Assembly: Microsoft.SPOT.Hardware (in Microsoft.SPOT.Hardware.dll)
Syntax
'Declaration
Public Enumeration StopBits
public enum StopBits
public enum class StopBits
type StopBits
public enum StopBits
Members
Member name | Description | |
---|---|---|
None | No stop bits are used. This value is not supported by the StopBits property. | |
One | One stop bit is used. | |
Two | Two stop bits are used. | |
OnePointFive | 1.5 stop bits are used. |
Remarks
You use this enumeration when setting the value of the StopBits property on the 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 None option is not supported. Setting the SerialPort..::..StopBits property to None raises an ArgumentOutOfRangeException.