Type Alias xmc4300::usic0_ch0::rbuf01sr::Perr1R

source ·
pub type Perr1R = BitReader<Perr1>;
Expand description

Field PERR1 reader - Protocol-related Error in RBUF1

Aliased Type§

struct Perr1R { /* private fields */ }

Implementations§

source§

impl Perr1R

source

pub const fn variant(&self) -> Perr1

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.