SerialParity Enumeration
The type of parity used on the serial port
Namespace: ASCOM.UtilitiesAssembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 7.1.3+4851.c5da65c2b
Public Enumeration SerialParity
public enum class SerialParity
Parity is an error-checking procedure in which the number of 1s must always be the
same — either even or odd — for each group of bits that is transmitted without error.
Parity is one of the parameters that must be
agreed upon by both sending and receiving parties before transmission can take place.
| None | 0 |
No parity check occurs.
|
| Odd | 1 |
Sets the parity bit so that the count of bits set is an odd number.
|
| Even | 2 |
Sets the parity bit so that the count of bits set is an even number.
|
| Mark | 3 |
Leaves the parity bit set to 1.
|
| Space | 4 |
Leaves the parity bit set to 0.
|