#[repr(transparent)]pub struct Erfsr(pub u32);Expand description
Enhanced RX FIFO Status.
Tuple Fields§
§0: u32Implementations§
Source§impl Erfsr
impl Erfsr
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 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 set_erfovf(&mut self, val: bool)
pub const fn set_erfovf(&mut self, val: bool)
Enhanced RX FIFO Overflow Flag.
Sourcepub const fn set_erfufw(&mut self, val: bool)
pub const fn set_erfufw(&mut self, val: bool)
Enhanced RX FIFO Underflow Flag.
Trait Implementations§
impl Copy for Erfsr
impl Eq for Erfsr
impl StructuralPartialEq for Erfsr
Auto Trait Implementations§
impl Freeze for Erfsr
impl RefUnwindSafe for Erfsr
impl Send for Erfsr
impl Sync for Erfsr
impl Unpin for Erfsr
impl UnwindSafe for Erfsr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more