Type Alias xmc4800::usic0_ch0::ccr::PmR

source ·
pub type PmR = FieldReader<Pm>;
Expand description

Field PM reader - Parity Mode

Aliased Type§

struct PmR { /* private fields */ }

Implementations§

source§

impl PmR

source

pub const fn variant(&self) -> Option<Pm>

Get enumerated values variant

source

pub fn is_value1(&self) -> bool

The parity generation is disabled.

source

pub fn is_value3(&self) -> bool

Even parity is selected (parity bit = 1 on odd number of 1s in data, parity bit = 0 on even number of 1s in data).

source

pub fn is_value4(&self) -> bool

Odd parity is selected (parity bit = 0 on odd number of 1s in data, parity bit = 1 on even number of 1s in data).