nxp-pac

Crates

git

Versions

mcxa457

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: In STOP condition.; true (1) = Busy: Busy.

Source

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.

Source

pub const fn stmsg(&self) -> bool

Status Message. Raw bit values: false (0) = Idle: Idle.; true (1) = Busy: Busy.

Source

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

Status Message. Raw bit values: false (0) = Idle: Idle.; true (1) = Busy: Busy.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

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 Flag. Raw bit values: false (0) = StartNotDetected: Not detected.; true (1) = StartDetected: Detected.

Source

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

Start Flag. Raw bit values: false (0) = StartNotDetected: Not detected.; true (1) = StartDetected: Detected.

Source

pub const fn matched(&self) -> bool

Matched Flag.

Source

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

Matched Flag.

Source

pub const fn stop(&self) -> bool

Stop Flag.

Source

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

Stop Flag.

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

Source

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

Dynamic Address Change Flag.

Source

pub const fn ccc(&self) -> bool

Common Command Code Flag.

Source

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

Common Command Code Flag.

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

Source

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

High Data Rate Command Match Flag.

Source

pub const fn chandled(&self) -> bool

Common Command Code Handled Flag.

Source

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

Common Command Code Handled Flag.

Source

pub const fn event(&self) -> bool

Event Flag.

Source

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

Event Flag.

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 Disable. Raw bit values: false (0) = InterruptsEnabled: Enabled.; true (1) = InterruptsDisabled: Disabled.

Source

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

In-Band Interrupts Disable. Raw bit values: false (0) = InterruptsEnabled: Enabled.; true (1) = InterruptsDisabled: Disabled.

Source

pub const fn mrdis(&self) -> bool

Controller Requests Disable. Raw bit values: false (0) = MrEnabled: Enabled.; true (1) = MrDisabled: Disabled.

Source

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

Controller Requests Disable. Raw bit values: false (0) = MrEnabled: Enabled.; true (1) = MrDisabled: Disabled.

Source

pub const fn hjdis(&self) -> bool

Hot-Join Disabled. Raw bit values: false (0) = MrEnabled: Enabled.; true (1) = MrDisabled: Disabled.

Source

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

Hot-Join Disabled. Raw bit values: false (0) = MrEnabled: Enabled.; true (1) = MrDisabled: 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.