pub type PAR_W<'a, const O: u8> = FieldWriter<'a, US_MR_USART_MODE_SPEC, 3, O, PARSELECT_A>;
Expand description

Field PAR writer - Parity Type

Aliased Type§

struct PAR_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> PAR_W<'a, O>

source

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

Even parity

source

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

Odd parity

source

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

Parity forced to 0 (Space)

source

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

Parity forced to 1 (Mark)

source

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

No parity

source

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

Multidrop mode