nxp-pac

Crates

git

Versions

mcxa153

Flavors

Sstatus

Struct Sstatus 

Source
#[repr(transparent)]
pub struct Sstatus(pub u32);
Expand description

Target Status.

Tuple Fields§

§0: u32

Implementations§

Source§

impl Sstatus

Source

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).

Source

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).

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

pub const fn stdaa(&self) -> bool

Status Dynamic Address Assignment.

Source

pub const fn set_stdaa(&mut self, val: bool)

Status Dynamic Address Assignment.

Source

pub const fn sthdr(&self) -> bool

Status High Data Rate.

Source

pub const fn set_sthdr(&mut self, val: bool)

Status High Data Rate.

Source

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.

Source

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.

Source

pub const fn matched(&self) -> bool

Matched.

Source

pub const fn set_matched(&mut self, val: bool)

Matched.

Source

pub const fn stop(&self) -> bool

Stop.

Source

pub const fn set_stop(&mut self, val: bool)

Stop.

Source

pub const fn rx_pend(&self) -> bool

Received Message Pending.

Source

pub const fn set_rx_pend(&mut self, val: bool)

Received Message Pending.

Source

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.

Source

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.

Source

pub const fn dachg(&self) -> bool

Dynamic Address Change.

Source

pub const fn set_dachg(&mut self, val: bool)

Dynamic Address Change.

Source

pub const fn ccc(&self) -> bool

Common Command Code.

Source

pub const fn set_ccc(&mut self, val: bool)

Common Command Code.

Source

pub const fn errwarn(&self) -> bool

Error Warning.

Source

pub const fn set_errwarn(&mut self, val: bool)

Error Warning.

Source

pub const fn hdrmatch(&self) -> bool

High Data Rate Command Match.

Source

pub const fn set_hdrmatch(&mut self, val: bool)

High Data Rate Command Match.

Source

pub const fn chandled(&self) -> bool

Common Command Code Handled.

Source

pub const fn set_chandled(&mut self, val: bool)

Common Command Code Handled.

Source

pub const fn event(&self) -> bool

Event.

Source

pub const fn set_event(&mut self, val: bool)

Event.

Source

pub const fn evdet(&self) -> Evdet

Event Details.

Source

pub const fn set_evdet(&mut self, val: Evdet)

Event Details.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

pub const fn actstate(&self) -> Actstate

Activity State from Common Command Codes (CCC).

Source

pub const fn set_actstate(&mut self, val: Actstate)

Activity State from Common Command Codes (CCC).

Source

pub const fn timectrl(&self) -> SstatusTimectrl

Time Control.

Source

pub const fn set_timectrl(&mut self, val: SstatusTimectrl)

Time Control.

Trait Implementations§

Source§

impl Clone for Sstatus

Source§

fn clone(&self) -> Sstatus

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for Sstatus

Source§

fn default() -> Sstatus

Returns the “default value” for a type. Read more
Source§

impl PartialEq for Sstatus

Source§

fn eq(&self, other: &Sstatus) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Sstatus

Source§

impl Eq for Sstatus

Source§

impl StructuralPartialEq for Sstatus

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.