SerialDevice.StopBits Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the standard number of stop bits per byte.
public:
property SerialStopBitCount StopBits { SerialStopBitCount get(); void set(SerialStopBitCount value); };
SerialStopBitCount StopBits();
void StopBits(SerialStopBitCount value);
public SerialStopBitCount StopBits { get; set; }
var serialStopBitCount = serialDevice.stopBits;
serialDevice.stopBits = serialStopBitCount;
Public Property StopBits As SerialStopBitCount
Property Value
One of the values defined in the SerialStopBitCount enumeration.
Remarks
In serial communication, a transmission begins with a start bit, followed by 8 bits of data, and ends with a stop bit. The purpose of the stop bit is to separate each unit of data or to indicate that no data is available for transmission.