Type Definition lpc81x_pac::lpc812::usart0::cfg::PARITYSEL_W

source ·
pub type PARITYSEL_W<'a, const O: u8> = FieldWriter<'a, u32, CFG_SPEC, u8, PARITYSEL_A, 2, O>;
Expand description

Field PARITYSEL writer - Selects what type of parity is used by the USART.

Implementations§

No parity.

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.

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.