#[repr(transparent)]pub struct Sstatus(pub u32);Expand description
Target Status.
Tuple Fields§
§0: u32Implementations§
Source§impl Sstatus
impl Sstatus
Sourcepub const fn stnotstop(&self) -> bool
pub const fn stnotstop(&self) -> bool
Status not Stop. Raw bit values: false (0) = Stopped: In STOP condition.; true (1) = Busy: Busy.
Sourcepub const fn set_stnotstop(&mut self, val: bool)
pub const fn set_stnotstop(&mut self, val: bool)
Status not Stop. Raw bit values: false (0) = Stopped: In STOP condition.; true (1) = Busy: Busy.
Sourcepub const fn stmsg(&self) -> bool
pub const fn stmsg(&self) -> bool
Status Message. Raw bit values: false (0) = Idle: Idle.; true (1) = Busy: Busy.
Sourcepub const fn set_stmsg(&mut self, val: bool)
pub const fn set_stmsg(&mut self, val: bool)
Status Message. Raw bit values: false (0) = Idle: Idle.; true (1) = Busy: Busy.
Sourcepub const fn stccch(&self) -> bool
pub const fn stccch(&self) -> bool
Status Common Command Code Handler. Raw bit values: false (0) = Idle: No CCC message handled.; true (1) = Busy: Handled automatically.
Sourcepub const fn set_stccch(&mut self, val: bool)
pub const fn set_stccch(&mut self, val: bool)
Status Common Command Code Handler. Raw bit values: false (0) = Idle: No CCC message handled.; true (1) = Busy: Handled automatically.
Sourcepub const fn streqrd(&self) -> bool
pub const fn streqrd(&self) -> bool
Status Request Read. Raw bit values: false (0) = Idle: Not an SDR read.; true (1) = Busy: SDR read from this target or an IBI is being pushed out.
Sourcepub const fn set_streqrd(&mut self, val: bool)
pub const fn set_streqrd(&mut self, val: bool)
Status Request Read. Raw bit values: false (0) = Idle: Not an SDR read.; true (1) = Busy: SDR read from this target or an IBI is being pushed out.
Sourcepub const fn streqwr(&self) -> bool
pub const fn streqwr(&self) -> bool
Status Request Write. Raw bit values: false (0) = Idle: Not an SDR write.; true (1) = Busy: SDR write data from the controller, but not in ENTDAA mode.
Sourcepub const fn set_streqwr(&mut self, val: bool)
pub const fn set_streqwr(&mut self, val: bool)
Status Request Write. Raw bit values: false (0) = Idle: Not an SDR write.; true (1) = Busy: SDR write data from the controller, but not in ENTDAA mode.
Sourcepub const fn start(&self) -> bool
pub const fn start(&self) -> bool
Start Flag. Raw bit values: false (0) = StartNotDetected: Not detected.; true (1) = StartDetected: Detected.
Sourcepub const fn set_start(&mut self, val: bool)
pub const fn set_start(&mut self, val: bool)
Start Flag. Raw bit values: false (0) = StartNotDetected: Not detected.; true (1) = StartDetected: Detected.
Sourcepub const fn set_matched(&mut self, val: bool)
pub const fn set_matched(&mut self, val: bool)
Matched Flag.
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 txnotfull(&self) -> bool
pub const fn txnotfull(&self) -> bool
Transmit Buffer Not Full. Raw bit values: false (0) = Full: Transmit buffer full.; true (1) = NotFull: Transmit buffer not full.
Sourcepub const fn set_txnotfull(&mut self, val: bool)
pub const fn set_txnotfull(&mut self, val: bool)
Transmit Buffer Not Full. Raw bit values: false (0) = Full: Transmit buffer full.; true (1) = NotFull: Transmit buffer 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 Flag.
Sourcepub const fn set_chandled(&mut self, val: bool)
pub const fn set_chandled(&mut self, val: bool)
Common Command Code Handled Flag.
Sourcepub const fn ibidis(&self) -> bool
pub const fn ibidis(&self) -> bool
In-Band Interrupts Disable. Raw bit values: false (0) = InterruptsEnabled: Enabled.; true (1) = InterruptsDisabled: Disabled.
Sourcepub const fn set_ibidis(&mut self, val: bool)
pub const fn set_ibidis(&mut self, val: bool)
In-Band Interrupts Disable. Raw bit values: false (0) = InterruptsEnabled: Enabled.; true (1) = InterruptsDisabled: Disabled.
Sourcepub const fn mrdis(&self) -> bool
pub const fn mrdis(&self) -> bool
Controller Requests Disable. Raw bit values: false (0) = MrEnabled: Enabled.; true (1) = MrDisabled: Disabled.
Sourcepub const fn set_mrdis(&mut self, val: bool)
pub const fn set_mrdis(&mut self, val: bool)
Controller Requests Disable. Raw bit values: false (0) = MrEnabled: Enabled.; true (1) = MrDisabled: Disabled.
Sourcepub const fn hjdis(&self) -> bool
pub const fn hjdis(&self) -> bool
Hot-Join Disabled. Raw bit values: false (0) = MrEnabled: Enabled.; true (1) = MrDisabled: Disabled.
Sourcepub const fn set_hjdis(&mut self, val: bool)
pub const fn set_hjdis(&mut self, val: bool)
Hot-Join Disabled. Raw bit values: false (0) = MrEnabled: Enabled.; true (1) = MrDisabled: 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.