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 열거형에 정의된 값 중 하나입니다.

설명

직렬 통신에서 전송은 시작 비트로 시작하여 8비트 데이터로 시작하고 중지 비트로 끝납니다. 중지 비트의 목적은 데이터의 각 단위를 분리하거나 전송에 사용할 수 있는 데이터가 없음을 나타내는 것입니다.

적용 대상