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.
Namespace: ZylSoft.SerialAssembly: ZylSerialPort (in ZylSerialPort.dll) Version: 1.83.8519.34486
Syntax public enum SerialParityBits
Public Enumeration SerialParityBits
public enum class SerialParityBits
public enum SerialParityBits
public enum SerialParityBits
ZylSoft.Serial.SerialParityBits = function();
ZylSoft.Serial.SerialParityBits.createEnum('ZylSoft.Serial.SerialParityBits', false);
No code example is currently available or this language may not be supported.
Members Member name | Value | Description |
---|
None | 0 |
No parity.
|
Odd | 1 |
Odd.
|
Even | 2 |
Even.
|
Mark | 3 |
Mark.
|
Space | 4 |
Space.
|
See Also