Device Drivers/UART
From Linux Drivers
Parity
- Even parity: Number of value "1" including parity bit is even.
- Odd parity: Number of value "1" including parity bit is odd.
- Example:
- If 8 bit data is 10101010, there are 4 bits with value "1". Then even parity is 0 (4 bits with 1), and odd parity is 1 (5 bits with 1).