efm32g290_pac::usart0::frame

Type Alias PARITY_W

Source
pub type PARITY_W<'a> = FieldWriter<'a, u32, FRAME_SPEC, u8, PARITY_A, 2, 8>;
Expand description

Field PARITY writer - Parity-Bit Mode

Aliased Type§

struct PARITY_W<'a> { /* private fields */ }

Implementations§

Source§

impl<'a> PARITY_W<'a>

Source

pub fn none(self) -> &'a mut W

Parity bits are not used

Source

pub fn even(self) -> &'a mut W

Even parity are used. Parity bits are automatically generated and checked by hardware.

Source

pub fn odd(self) -> &'a mut W

Odd parity is used. Parity bits are automatically generated and checked by hardware.