21.4.4 Parity Bit Calculation

The parity bit is always calculated using even parity. The value of the bit is calculated by doing an exclusive-or of all the data bits, as follows:

P = D 0 D 1 D 2 D 3 D 4 D 5 D 6 D 7 0
where:
  • P: Parity bit using even parity
  • D0-D7: Data bits of the character