nxp-pac

Crates

git

Versions

lpc55s16

Flavors

Ir

Struct Ir 

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

Interrupt Register

Tuple Fields§

§0: u32

Implementations§

Source§

impl Ir

Source

pub const fn rf0n(&self) -> bool

Rx FIFO 0 new message.

Source

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

Rx FIFO 0 new message.

Source

pub const fn rf0w(&self) -> bool

Rx FIFO 0 watermark reached.

Source

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

Rx FIFO 0 watermark reached.

Source

pub const fn rf0f(&self) -> bool

Rx FIFO 0 full.

Source

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

Rx FIFO 0 full.

Source

pub const fn rf0l(&self) -> bool

Rx FIFO 0 message lost.

Source

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

Rx FIFO 0 message lost.

Source

pub const fn rf1n(&self) -> bool

Rx FIFO 1 new message.

Source

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

Rx FIFO 1 new message.

Source

pub const fn rf1w(&self) -> bool

Rx FIFO 1 watermark reached.

Source

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

Rx FIFO 1 watermark reached.

Source

pub const fn rf1f(&self) -> bool

Rx FIFO 1 full.

Source

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

Rx FIFO 1 full.

Source

pub const fn rf1l(&self) -> bool

Rx FIFO 1 message lost.

Source

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

Rx FIFO 1 message lost.

Source

pub const fn hpm(&self) -> bool

High priority message.

Source

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

High priority message.

Source

pub const fn tc(&self) -> bool

Transmission completed.

Source

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

Transmission completed.

Source

pub const fn tcf(&self) -> bool

Transmission cancellation finished.

Source

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

Transmission cancellation finished.

Source

pub const fn tfe(&self) -> bool

Tx FIFO empty.

Source

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

Tx FIFO empty.

Source

pub const fn tefn(&self) -> bool

Tx event FIFO new entry.

Source

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

Tx event FIFO new entry.

Source

pub const fn tefw(&self) -> bool

Tx event FIFO watermark reached.

Source

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

Tx event FIFO watermark reached.

Source

pub const fn teff(&self) -> bool

Tx event FIFO full.

Source

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

Tx event FIFO full.

Source

pub const fn tefl(&self) -> bool

Tx event FIFO element lost.

Source

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

Tx event FIFO element lost.

Source

pub const fn tsw(&self) -> bool

Timestamp wraparound.

Source

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

Timestamp wraparound.

Source

pub const fn mraf(&self) -> bool

Message RAM access failure.

Source

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

Message RAM access failure.

Source

pub const fn too(&self) -> bool

Timeout occurred.

Source

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

Timeout occurred.

Source

pub const fn drx(&self) -> bool

Message stored in dedicated Rx buffer.

Source

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

Message stored in dedicated Rx buffer.

Source

pub const fn bec(&self) -> bool

Bit error corrected.

Source

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

Bit error corrected.

Source

pub const fn beu(&self) -> bool

Bit error uncorrected.

Source

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

Bit error uncorrected.

Source

pub const fn elo(&self) -> bool

Error logging overflow.

Source

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

Error logging overflow.

Source

pub const fn ep(&self) -> bool

Error passive.

Source

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

Error passive.

Source

pub const fn ew(&self) -> bool

Warning status.

Source

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

Warning status.

Source

pub const fn bo(&self) -> bool

Bus_Off Status.

Source

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

Bus_Off Status.

Source

pub const fn wdi(&self) -> bool

Watchdog interrupt.

Source

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

Watchdog interrupt.

Source

pub const fn pea(&self) -> bool

Protocol error in arbitration phase.

Source

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

Protocol error in arbitration phase.

Source

pub const fn ped(&self) -> bool

Protocol error in data phase.

Source

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

Protocol error in data phase.

Source

pub const fn ara(&self) -> bool

Access to reserved address.

Source

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

Access to reserved address.

Trait Implementations§

Source§

impl Clone for Ir

Source§

fn clone(&self) -> Ir

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 Ir

Source§

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

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

impl Default for Ir

Source§

fn default() -> Ir

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

impl PartialEq for Ir

Source§

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

Source§

impl Eq for Ir

Source§

impl StructuralPartialEq for Ir

Auto Trait Implementations§

§

impl Freeze for Ir

§

impl RefUnwindSafe for Ir

§

impl Send for Ir

§

impl Sync for Ir

§

impl Unpin for Ir

§

impl UnwindSafe for Ir

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.