nxp-pac

Crates

git

Versions

mimxrt1064

Flavors

Eir

Struct Eir 

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

Interrupt Event Register

Tuple Fields§

§0: u32

Implementations§

Source§

impl Eir

Source

pub const fn ts_timer(&self) -> bool

Timestamp Timer

Source

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

Timestamp Timer

Source

pub const fn ts_avail(&self) -> bool

Transmit Timestamp Available

Source

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

Transmit Timestamp Available

Source

pub const fn wakeup(&self) -> bool

Node Wakeup Request Indication

Source

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

Node Wakeup Request Indication

Source

pub const fn plr(&self) -> bool

Payload Receive Error

Source

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

Payload Receive Error

Source

pub const fn un(&self) -> bool

Transmit FIFO Underrun

Source

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

Transmit FIFO Underrun

Source

pub const fn rl(&self) -> bool

Collision Retry Limit

Source

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

Collision Retry Limit

Source

pub const fn lc(&self) -> bool

Late Collision

Source

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

Late Collision

Source

pub const fn eberr(&self) -> bool

Ethernet Bus Error

Source

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

Ethernet Bus Error

Source

pub const fn mii(&self) -> bool

MII Interrupt.

Source

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

MII Interrupt.

Source

pub const fn rxb(&self) -> bool

Receive Buffer Interrupt

Source

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

Receive Buffer Interrupt

Source

pub const fn rxf(&self) -> bool

Receive Frame Interrupt

Source

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

Receive Frame Interrupt

Source

pub const fn txb(&self) -> bool

Transmit Buffer Interrupt

Source

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

Transmit Buffer Interrupt

Source

pub const fn txf(&self) -> bool

Transmit Frame Interrupt

Source

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

Transmit Frame Interrupt

Source

pub const fn gra(&self) -> bool

Graceful Stop Complete

Source

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

Graceful Stop Complete

Source

pub const fn babt(&self) -> bool

Babbling Transmit Error

Source

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

Babbling Transmit Error

Source

pub const fn babr(&self) -> bool

Babbling Receive Error

Source

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

Babbling Receive Error

Trait Implementations§

Source§

impl Clone for Eir

Source§

fn clone(&self) -> Eir

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 Eir

Source§

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

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

impl Default for Eir

Source§

fn default() -> Eir

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

impl PartialEq for Eir

Source§

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

Source§

impl Eq for Eir

Source§

impl StructuralPartialEq for Eir

Auto Trait Implementations§

§

impl Freeze for Eir

§

impl RefUnwindSafe for Eir

§

impl Send for Eir

§

impl Sync for Eir

§

impl Unpin for Eir

§

impl UnwindSafe for Eir

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.