#[repr(transparent)]pub struct Erfsr2(pub u32);Expand description
Enhanced RX FIFO Status.
Tuple Fields§
§0: u32Implementations§
Source§impl Erfsr2
impl Erfsr2
Sourcepub const fn erff(&self) -> bool
pub const fn erff(&self) -> bool
Enhanced RX FIFO Full Flag. Raw bit values: false (0) = NotFull: Not full.; true (1) = Full: Full.
Sourcepub const fn set_erff(&mut self, val: bool)
pub const fn set_erff(&mut self, val: bool)
Enhanced RX FIFO Full Flag. Raw bit values: false (0) = NotFull: Not full.; true (1) = Full: Full.
Sourcepub const fn erfe(&self) -> bool
pub const fn erfe(&self) -> bool
Enhanced RX FIFO Empty Flag. Raw bit values: false (0) = NotEmpty: Not empty.; true (1) = Empty: Empty.
Sourcepub const fn set_erfe(&mut self, val: bool)
pub const fn set_erfe(&mut self, val: bool)
Enhanced RX FIFO Empty Flag. Raw bit values: false (0) = NotEmpty: Not empty.; true (1) = Empty: Empty.
Sourcepub const fn erfclr(&self) -> bool
pub const fn erfclr(&self) -> bool
Enhanced RX FIFO Clear. Raw bit values: false (0) = NoEffect: No effect.; true (1) = Clear: Clear enhanced RX FIFO content.
Sourcepub const fn set_erfclr(&mut self, val: bool)
pub const fn set_erfclr(&mut self, val: bool)
Enhanced RX FIFO Clear. Raw bit values: false (0) = NoEffect: No effect.; true (1) = Clear: Clear enhanced RX FIFO content.
Sourcepub const fn erfda(&self) -> bool
pub const fn erfda(&self) -> bool
Enhanced RX FIFO Data Available Flag. Raw bit values: false (0) = NoMessageStored: No such occurrence.; true (1) = MessageStored: At least one message stored in Enhanced RX FIFO.
Sourcepub const fn set_erfda(&mut self, val: bool)
pub const fn set_erfda(&mut self, val: bool)
Enhanced RX FIFO Data Available Flag. Raw bit values: false (0) = NoMessageStored: No such occurrence.; true (1) = MessageStored: At least one message stored in Enhanced RX FIFO.
Sourcepub const fn erfwmi(&self) -> bool
pub const fn erfwmi(&self) -> bool
Enhanced RX FIFO Watermark Indication Flag. Raw bit values: false (0) = WatermarkNo: No such occurrence.; true (1) = WatermarkYes: Number of messages in FIFO is greater than the watermark.
Sourcepub const fn set_erfwmi(&mut self, val: bool)
pub const fn set_erfwmi(&mut self, val: bool)
Enhanced RX FIFO Watermark Indication Flag. Raw bit values: false (0) = WatermarkNo: No such occurrence.; true (1) = WatermarkYes: Number of messages in FIFO is greater than the watermark.
Sourcepub const fn erfovf(&self) -> bool
pub const fn erfovf(&self) -> bool
Enhanced RX FIFO Overflow Flag. Raw bit values: false (0) = NoOverflow: No such occurrence.; true (1) = Overflow: Overflow.
Sourcepub const fn set_erfovf(&mut self, val: bool)
pub const fn set_erfovf(&mut self, val: bool)
Enhanced RX FIFO Overflow Flag. Raw bit values: false (0) = NoOverflow: No such occurrence.; true (1) = Overflow: Overflow.
Sourcepub const fn erfufw(&self) -> bool
pub const fn erfufw(&self) -> bool
Enhanced RX FIFO Underflow Flag. Raw bit values: false (0) = NoUnderflow: No such occurrence.; true (1) = Underflow: Underflow.
Sourcepub const fn set_erfufw(&mut self, val: bool)
pub const fn set_erfufw(&mut self, val: bool)
Enhanced RX FIFO Underflow Flag. Raw bit values: false (0) = NoUnderflow: No such occurrence.; true (1) = Underflow: Underflow.