namespace PInvokeSerialPort { /// /// Parity settings /// public enum Parity { /// /// Characters do not have a parity bit. /// None = 0, /// /// If there are an odd number of 1s in the data bits, the parity bit is 1. /// Odd = 1, /// /// If there are an even number of 1s in the data bits, the parity bit is 1. /// Even = 2, /// /// The parity bit is always 1. /// Mark = 3, /// /// The parity bit is always 0. /// Space = 4 }; }