Share via


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

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 .NET Micro Framework version 3.0 and above.

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.

See Also

Reference

System.IO.Ports Namespace