Click or drag to resize

SerialParity Enumeration

The type of parity used on the serial port

Namespace:  ASCOM.Utilities
Assembly:  ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
Syntax
public enum SerialParity
Members
  Member nameValueDescription
Even2 Sets the parity bit so that the count of bits set is an even number.
Mark3 Leaves the parity bit set to 1.
None0 No parity check occurs.
Odd1 Sets the parity bit so that the count of bits set is an odd number.
Space4 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