Enum lpc845_pac::usart0::cfg::PARITYSEL_A [−][src]
#[repr(u8)]
pub enum PARITYSEL_A {
NO_PARITY,
EVEN_PARITY,
ODD_PARITY,
}
Expand description
Selects what type of parity is used by the USART.
Value on reset: 0
Variants
0: No parity.
2: Even parity. Adds a bit to each character such that the number of 1s in a transmitted character is even, and the number of 1s in a received character is expected to be even.
3: Odd parity. Adds a bit to each character such that the number of 1s in a transmitted character is odd, and the number of 1s in a received character is expected to be odd.
Trait Implementations
Performs the conversion.