nxp-pac

Crates

git

Versions

mcxa577

Flavors

Wirero

Struct Wirero 

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

Virtual Wire Host-to-MCU

Tuple Fields§

§0: u32

Implementations§

Source§

impl Wirero

Source

pub const fn slp_s3n(&self) -> bool

Sleep State 3

Source

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

Sleep State 3

Source

pub const fn slp_s4n(&self) -> bool

Sleep State 4

Source

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

Sleep State 4

Source

pub const fn slp_s5n(&self) -> bool

Sleep State 5

Source

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

Sleep State 5

Source

pub const fn sus_stat(&self) -> bool

Suspend Status

Source

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

Suspend Status

Source

pub const fn pltrstn(&self) -> bool

Reset Request

Source

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

Reset Request

Source

pub const fn oob_rst_warn(&self) -> bool

Out-Of-Band Reset Warning

Source

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

Out-Of-Band Reset Warning

Source

pub const fn host_rst_warn(&self) -> bool

Host Reset Warning

Source

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

Host Reset Warning

Source

pub const fn sus_warn(&self) -> bool

Suspend Warning

Source

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

Suspend Warning

Source

pub const fn sus_pwrdn_ackn(&self) -> bool

Suspend Power Well Acknowledge

Source

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

Suspend Power Well Acknowledge

Source

pub const fn slp_an(&self) -> bool

Sleep AN

Source

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

Sleep AN

Source

pub const fn slp_lan(&self) -> bool

Wired LAN Sleep

Source

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

Wired LAN Sleep

Source

pub const fn slp_wlan(&self) -> bool

Wireless LAN Sleep

Source

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

Wireless LAN Sleep

Source

pub const fn p2e(&self) -> u8

PCIe to EC

Source

pub const fn set_p2e(&mut self, val: u8)

PCIe to EC

Source

pub const fn host_c10n(&self) -> bool

Host Entering Deep Power Down C10 State

Source

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

Host Entering Deep Power Down C10 State

Trait Implementations§

Source§

impl Clone for Wirero

Source§

fn clone(&self) -> Wirero

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 Wirero

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Default for Wirero

Source§

fn default() -> Wirero

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

impl PartialEq for Wirero

Source§

fn eq(&self, other: &Wirero) -> 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 Wirero

Source§

impl Eq for Wirero

Source§

impl StructuralPartialEq for Wirero

Auto Trait Implementations§

§

impl Freeze for Wirero

§

impl RefUnwindSafe for Wirero

§

impl Send for Wirero

§

impl Sync for Wirero

§

impl Unpin for Wirero

§

impl UnwindSafe for Wirero

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.