Type Alias xmc4800::usic0_ch0::rbuf01sr::PERR0_R

source ·
pub type PERR0_R = BitReader<PERR0_A>;
Expand description

Field PERR0 reader - Protocol-related Error in RBUF0

Aliased Type§

struct PERR0_R { /* private fields */ }

Implementations§

source§

impl PERR0_R

source

pub const fn variant(&self) -> PERR0_A

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.