nxp-pac

Crates

git

Versions

mcxa577

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

Status not Stop.

Source

pub const fn set_stnotstop(&mut self, val: Stnotstop)

Status not Stop.

Source

pub const fn stmsg(&self) -> Stmsg

Status Message.

Source

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

Status Message.

Source

pub const fn stccch(&self) -> Stccch

Status Common Command Code Handler.

Source

pub const fn set_stccch(&mut self, val: Stccch)

Status Common Command Code Handler.

Source

pub const fn streqrd(&self) -> Streqrd

Status Request Read.

Source

pub const fn set_streqrd(&mut self, val: Streqrd)

Status Request Read.

Source

pub const fn streqwr(&self) -> Streqwr

Status Request Write.

Source

pub const fn set_streqwr(&mut self, val: Streqwr)

Status Request Write.

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

Start Flag.

Source

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

Start Flag.

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

Transmit Buffer Not Full.

Source

pub const fn set_txnotfull(&mut self, val: SstatusTxnotfull)

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

In-Band Interrupts Disable.

Source

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

In-Band Interrupts Disable.

Source

pub const fn mrdis(&self) -> Mrdis

Controller Requests Disable.

Source

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

Controller Requests Disable.

Source

pub const fn hjdis(&self) -> Hjdis

Hot-Join Disabled.

Source

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

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 Debug for Sstatus

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. 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.