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.GsmAssembly: ZylGsm (in ZylGsm.dll) Version: 1.2.0.21451
XMLNS for XAML: Not mapped to an xmlns.
Syntaxpublic enum SerialParityBits
Public Enumeration SerialParityBits
Dim instance As SerialParityBits
public enum class SerialParityBits
Members| Member name | Value | Description |
|---|
| None | 0 |
No parity.
|
| Odd | 1 |
Odd.
|
| Even | 2 |
Even.
|
| Mark | 3 |
Mark.
|
| Space | 4 |
Space.
|
See Also