Type Alias xmc4800::usic0_ch0::rbuf01sr::Perr0R

source ·
pub type Perr0R = BitReader<Perr0>;
Expand description

Field PERR0 reader - Protocol-related Error in RBUF0

Aliased Type§

struct Perr0R { /* private fields */ }

Implementations§

source§

impl Perr0R

source

pub const fn variant(&self) -> Perr0

Get enumerated values variant

source

pub fn is_value1(&self) -> bool

The received protocol-related argument PAR matches the expected value. The reception of the data word sets bit PSR.RIF and can generate a receive interrupt.

source

pub fn is_value2(&self) -> bool

The received protocol-related argument PAR does not match the expected value. The reception of the data word sets bit PSR.AIF and can generate an alternative receive interrupt.