ZylSerialPort.NET

SerialPort.SerialParityBits Enumeration

Parity bits enumeration type. An optional parity bit follows the data bits in the character frame. The parity bit, if present, also follows inverted logic: read 1 for negative voltage and 0 for positive voltage. This bit is included as a simple means of error checking. The idea is this: you specify ahead of time whether the parity of the transmission is to be even or odd. Suppose the parity is chosen to be odd. The transmitter will then set the parity bit in such a way as to make an odd number of 1's among the data bits and the parity bit.

[Visual Basic]
Public Enum SerialPort.SerialParityBits
[C#]
public enum SerialPort.SerialParityBits

Members

Member Name Description
pbNone No parity.
pbOdd Odd.
pbEven Even.
pbMark Mark.
pbSpace Space.

Requirements

Namespace: ZylSerialPort

Assembly: ZylSerialPort (in ZylSerialPort.dll)

See Also

ZylSerialPort Namespace