pub type PARITY_W<'a, const O: u8> = FieldWriter<'a, u32, CTRL_SPEC, u8, PARITY_A, 2, O>;
Expand description

Field PARITY writer - Parity-Bit Mode

Implementations§

source§

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

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.