#[repr(transparent)]pub struct Rsr(pub u32);Expand description
Receive Status.
Tuple Fields§
§0: u32Implementations§
Source§impl Rsr
impl Rsr
Sourcepub const fn sof(&self) -> bool
pub const fn sof(&self) -> bool
Start of Frame. Raw bit values: false (0) = NextDataword: Subsequent data word or RX FIFO is empty (RXEMPTY=1).; true (1) = FirstDataword: First data word.
Sourcepub const fn set_sof(&mut self, val: bool)
pub const fn set_sof(&mut self, val: bool)
Start of Frame. Raw bit values: false (0) = NextDataword: Subsequent data word or RX FIFO is empty (RXEMPTY=1).; true (1) = FirstDataword: First data word.
Sourcepub const fn set_rxempty(&mut self, val: bool)
pub const fn set_rxempty(&mut self, val: bool)
RX FIFO Empty.
Trait Implementations§
impl Copy for Rsr
impl Eq for Rsr
impl StructuralPartialEq for Rsr
Auto Trait Implementations§
impl Freeze for Rsr
impl RefUnwindSafe for Rsr
impl Send for Rsr
impl Sync for Rsr
impl Unpin for Rsr
impl UnwindSafe for Rsr
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