The type of parity used on the serial port
Namespace:
ASCOM.Utilities
Assembly:
ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
Syntax Public Enumeration SerialParity
public enum class SerialParity
Members
| Member name | Value | Description |
---|
| 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.
|
| None | 0 |
No parity check occurs.
|
| Odd | 1 |
Sets the parity bit so that the count of bits set is an odd number.
|
| Space | 4 |
Leaves the parity bit set to 0.
|
Remarks
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.
See Also