#[repr(transparent)]pub struct Sstatus(pub u32);Expand description
Slave Status Register
Tuple Fields§
§0: u32Implementations§
Source§impl Sstatus
impl Sstatus
Sourcepub const fn set_stnotstop(&mut self, val: bool)
pub const fn set_stnotstop(&mut self, val: bool)
Status not stop
Sourcepub const fn set_stccch(&mut self, val: bool)
pub const fn set_stccch(&mut self, val: bool)
Status Common Command Code Handler
Sourcepub const fn set_streqrd(&mut self, val: bool)
pub const fn set_streqrd(&mut self, val: bool)
Status required
Sourcepub const fn set_streqwr(&mut self, val: bool)
pub const fn set_streqwr(&mut self, val: bool)
Status request write
Sourcepub const fn set_matched(&mut self, val: bool)
pub const fn set_matched(&mut self, val: bool)
Matched
Sourcepub const fn set_rx_pend(&mut self, val: bool)
pub const fn set_rx_pend(&mut self, val: bool)
Received message pending
Sourcepub const fn set_txnotfull(&mut self, val: bool)
pub const fn set_txnotfull(&mut self, val: bool)
Transmit buffer is not full
Sourcepub const fn set_errwarn(&mut self, val: bool)
pub const fn set_errwarn(&mut self, val: bool)
Error warning
Sourcepub const fn set_hdrmatch(&mut self, val: bool)
pub const fn set_hdrmatch(&mut self, val: bool)
High Data Rate command match
Sourcepub const fn set_chandled(&mut self, val: bool)
pub const fn set_chandled(&mut self, val: bool)
Common-Command-Code handled
Sourcepub const fn set_ibidis(&mut self, val: bool)
pub const fn set_ibidis(&mut self, val: bool)
In-Band Interrupts are disabled
Sourcepub const fn set_actstate(&mut self, val: Actstate)
pub const fn set_actstate(&mut self, val: Actstate)
Activity state from Common Command Codes (CCC)
Sourcepub const fn timectrl(&self) -> SstatusTimectrl
pub const fn timectrl(&self) -> SstatusTimectrl
Time control
Sourcepub const fn set_timectrl(&mut self, val: SstatusTimectrl)
pub const fn set_timectrl(&mut self, val: SstatusTimectrl)
Time control
Trait Implementations§
impl Copy for Sstatus
impl Eq for Sstatus
impl StructuralPartialEq for Sstatus
Auto Trait Implementations§
impl Freeze for Sstatus
impl RefUnwindSafe for Sstatus
impl Send for Sstatus
impl Sync for Sstatus
impl Unpin for Sstatus
impl UnwindSafe for Sstatus
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