StopBits Enumeration
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
public enum StopBits
Members
Member name | Description | |
---|---|---|
None | No stop bits are used. This value is not supported. Setting the StopBits property to None raises an ArgumentOutOfRangeException. | |
One | One stop bit is used. | |
OnePointFive | 1.5 stop bits are used. | |
Two | Two stop bits are used. |
Remarks
This enumeration specifies the number of stop bits to use. 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 StopBits property to None raises an ArgumentOutOfRangeException.
Version Information
Available in the .NET Micro Framework versions 3.0, 4.0, and 4.1.