Type Alias xmc4400::usic0_ch0::ccr::PM_R

source ·
pub type PM_R = FieldReader<PM_A>;
Expand description

Field PM reader - Parity Mode

Aliased Type§

struct PM_R { /* private fields */ }

Implementations§

source§

impl PM_R

source

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

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).