stm32-metapac

Crates

git

Versions

stm32h757ai-cm4

Flavors

Struct stm32_metapac::can::regs::Ir

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

FDCAN Interrupt Register

Tuple Fields§

§0: u32

Implementations§

§

impl Ir

pub const fn rfn(&self, n: usize) -> bool

Rx FIFO X New Message

pub fn set_rfn(&mut self, n: usize, val: bool)

Rx FIFO X New Message

pub const fn rfw(&self, n: usize) -> bool

Rx FIFO X Watermark Reached

pub fn set_rfw(&mut self, n: usize, val: bool)

Rx FIFO X Watermark Reached

pub const fn rff(&self, n: usize) -> bool

Rx FIFO X Full

pub fn set_rff(&mut self, n: usize, val: bool)

Rx FIFO X Full

pub const fn rfl(&self, n: usize) -> bool

Rx FIFO X Message Lost

pub fn set_rfl(&mut self, n: usize, val: bool)

Rx FIFO X Message Lost

pub const fn hpm(&self) -> bool

High Priority Message

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

High Priority Message

pub const fn tc(&self) -> bool

Transmission Completed

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

Transmission Completed

pub const fn tcf(&self) -> bool

Transmission Cancellation Finished

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

Transmission Cancellation Finished

pub const fn tef(&self) -> bool

Tx FIFO Empty

pub fn set_tef(&mut self, val: bool)

Tx FIFO Empty

pub const fn tefn(&self) -> bool

Tx Event FIFO New Entry

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

Tx Event FIFO New Entry

pub const fn tefw(&self) -> bool

Tx Event FIFO Watermark Reached

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

Tx Event FIFO Watermark Reached

pub const fn teff(&self) -> bool

Tx Event FIFO Full

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

Tx Event FIFO Full

pub const fn tefl(&self) -> bool

Tx Event FIFO Element Lost

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

Tx Event FIFO Element Lost

pub const fn tsw(&self) -> bool

Timestamp Wraparound

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

Timestamp Wraparound

pub const fn mraf(&self) -> bool

Message RAM Access Failure

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

Message RAM Access Failure

pub const fn too(&self) -> bool

Timeout Occurred

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

Timeout Occurred

pub const fn drx(&self) -> bool

Message stored to Dedicated Rx Buffer

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

Message stored to Dedicated Rx Buffer

pub const fn elo(&self) -> bool

Error Logging Overflow

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

Error Logging Overflow

pub const fn ep(&self) -> bool

Error Passive

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

Error Passive

pub const fn ew(&self) -> bool

Warning Status

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

Warning Status

pub const fn bo(&self) -> bool

Bus_Off Status

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

Bus_Off Status

pub const fn wdi(&self) -> bool

Watchdog Interrupt

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

Watchdog Interrupt

pub const fn pea(&self) -> bool

Protocol Error in Arbitration Phase (Nominal Bit Time is used)

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

Protocol Error in Arbitration Phase (Nominal Bit Time is used)

pub const fn ped(&self) -> bool

Protocol Error in Data Phase (Data Bit Time is used)

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

Protocol Error in Data Phase (Data Bit Time is used)

pub const fn ara(&self) -> bool

Access to Reserved Address

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

Access to Reserved Address

Trait Implementations§

§

impl Clone for Ir

§

fn clone(&self) -> Ir

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Default for Ir

§

fn default() -> Ir

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

impl PartialEq for Ir

§

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

impl Copy for Ir

§

impl Eq for Ir

§

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, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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.