SerialDevice.StopBits プロパティ

定義

バイトあたりのストップ ビットの標準数を取得または設定します。

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

プロパティ値

SerialStopBitCount 列挙で定義されている値の 1 つ。

注釈

シリアル通信では、伝送は開始ビットから始まり、その後に 8 ビットのデータが続き、停止ビットで終わります。 停止ビットの目的は、データの各単位を分離するか、または送信に使用できるデータがないことを示すものです。

適用対象