#[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: I3C module is in a STOP condition.; true (1) = Busy: The bus is busy (has activity).
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: I3C module is in a STOP condition.; true (1) = Busy: The bus is busy (has activity).
Sourcepub const fn stmsg(&self) -> bool
pub const fn stmsg(&self) -> bool
Status message. Raw bit values: false (0) = Idle: Bus target not listening or responding.; true (1) = Busy: This bus target is listening to the bus traffic or responding.
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: Bus target not listening or responding.; true (1) = Busy: This bus target is listening to the bus traffic or responding.
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 is being handled.; true (1) = Busy: A CCC message is being 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 is being handled.; true (1) = Busy: A CCC message is being handled automatically.
Sourcepub const fn streqrd(&self) -> bool
pub const fn streqrd(&self) -> bool
Status Request Read. Raw bit values: false (0) = Idle: REQ in process is not an SDR read from this target.; true (1) = Busy: The REQ in process is an SDR read from this target, or an In-Band Interrupt (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: REQ in process is not an SDR read from this target.; true (1) = Busy: The REQ in process is an SDR read from this target, or an In-Band Interrupt (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: REQ in process is not SDR write data from the controller.; true (1) = Busy: REQ in process is SDR write data from the controller to this bus target (or all targets), 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: REQ in process is not SDR write data from the controller.; true (1) = Busy: REQ in process is SDR write data from the controller to this bus target (or all targets), but not in ENTDAA mode.
Sourcepub const fn start(&self) -> bool
pub const fn start(&self) -> bool
Start. Raw bit values: false (0) = StartNotDetected: No START seen.; true (1) = StartDetected: A START or repeated START was seen after the START bit was last cleared.
Sourcepub const fn set_start(&mut self, val: bool)
pub const fn set_start(&mut self, val: bool)
Start. Raw bit values: false (0) = StartNotDetected: No START seen.; true (1) = StartDetected: A START or repeated START was seen after the START bit was last cleared.
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 txnotfull(&self) -> bool
pub const fn txnotfull(&self) -> bool
Transmit Buffer Is 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 Is 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.
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 ibidis(&self) -> bool
pub const fn ibidis(&self) -> bool
In-Band Interrupts Are Disabled. Raw bit values: false (0) = InterruptsEnabled: In-Band Interrupts not disabled.; true (1) = InterruptsDisabled: In-Band Interrupts disabled.
Sourcepub const fn set_ibidis(&mut self, val: bool)
pub const fn set_ibidis(&mut self, val: bool)
In-Band Interrupts Are Disabled. Raw bit values: false (0) = InterruptsEnabled: In-Band Interrupts not disabled.; true (1) = InterruptsDisabled: In-Band Interrupts disabled.
Sourcepub const fn mrdis(&self) -> bool
pub const fn mrdis(&self) -> bool
Controller Requests Are Disabled. Raw bit values: false (0) = MrEnabled: Controller Requests not disabled.; true (1) = MrDisabled: Controller Requests disabled.
Sourcepub const fn set_mrdis(&mut self, val: bool)
pub const fn set_mrdis(&mut self, val: bool)
Controller Requests Are Disabled. Raw bit values: false (0) = MrEnabled: Controller Requests not disabled.; true (1) = MrDisabled: Controller Requests disabled.
Sourcepub const fn hjdis(&self) -> bool
pub const fn hjdis(&self) -> bool
Hot-Join Disabled. Raw bit values: false (0) = MrEnabled: Hot-Join not disabled.; true (1) = MrDisabled: Hot-Join 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: Hot-Join not disabled.; true (1) = MrDisabled: Hot-Join 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.