Type Definition atsam4ls8c_pac::usart0::usart_mode_mr::PAR_W

source ·
pub type PAR_W<'a, const O: u8> = FieldWriterSafe<'a, u32, USART_MODE_MR_SPEC, u8, PARSELECT_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 none(self) -> &'a mut W

No Parity

source

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

No Parity

source

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

Multi-drop mode

source

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

Multi-drop mode