Type Definition atsam4s2a_pac::usart0::mr::PAR_W

source ·
pub type PAR_W<'a, const O: u8> = FieldWriter<'a, u32, MR_SPEC, u8, PAR_A, 3, O>;
Expand description

Field PAR writer - Parity Type

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