Struct stm32_metapac::can::regs::Ils

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

FDCAN Interrupt Line Select Register

Tuple Fields§

§0: u32

Implementations§

§

impl Ils

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

Rx FIFO X New Message Interrupt Line

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

Rx FIFO X New Message Interrupt Line

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

Rx FIFO X Watermark Reached Interrupt Line

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

Rx FIFO X Watermark Reached Interrupt Line

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

Rx FIFO X Full Interrupt Line

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

Rx FIFO X Full Interrupt Line

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

Rx FIFO X Message Lost Interrupt Line

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

Rx FIFO X Message Lost Interrupt Line

pub const fn hpml(&self) -> bool

High Priority Message Interrupt Line

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

High Priority Message Interrupt Line

pub const fn tcl(&self) -> bool

Transmission Completed Interrupt Line

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

Transmission Completed Interrupt Line

pub const fn tcfl(&self) -> bool

Transmission Cancellation Finished Interrupt Line

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

Transmission Cancellation Finished Interrupt Line

pub const fn tefl(&self) -> bool

Tx FIFO Empty Interrupt Line

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

Tx FIFO Empty Interrupt Line

pub const fn tefnl(&self) -> bool

Tx Event FIFO New Entry Interrupt Line

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

Tx Event FIFO New Entry Interrupt Line

pub const fn tefwl(&self) -> bool

Tx Event FIFO Watermark Reached Interrupt Line

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

Tx Event FIFO Watermark Reached Interrupt Line

pub const fn teffl(&self) -> bool

Tx Event FIFO Full Interrupt Line

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

Tx Event FIFO Full Interrupt Line

pub const fn tefll(&self) -> bool

Tx Event FIFO Element Lost Interrupt Line

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

Tx Event FIFO Element Lost Interrupt Line

pub const fn tswl(&self) -> bool

Timestamp Wraparound Interrupt Line

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

Timestamp Wraparound Interrupt Line

pub const fn mrafl(&self) -> bool

Message RAM Access Failure Interrupt Line

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

Message RAM Access Failure Interrupt Line

pub const fn tool(&self) -> bool

Timeout Occurred Interrupt Line

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

Timeout Occurred Interrupt Line

pub const fn drxl(&self) -> bool

Message stored to Dedicated Rx Buffer Interrupt Line

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

Message stored to Dedicated Rx Buffer Interrupt Line

pub const fn becl(&self) -> bool

Bit Error Corrected Interrupt Line

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

Bit Error Corrected Interrupt Line

pub const fn beul(&self) -> bool

Bit Error Uncorrected Interrupt Line

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

Bit Error Uncorrected Interrupt Line

pub const fn elol(&self) -> bool

Error Logging Overflow Interrupt Line

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

Error Logging Overflow Interrupt Line

pub const fn epl(&self) -> bool

Error Passive Interrupt Line

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

Error Passive Interrupt Line

pub const fn ewl(&self) -> bool

Warning Status Interrupt Line

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

Warning Status Interrupt Line

pub const fn bol(&self) -> bool

Bus_Off Status

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

Bus_Off Status

pub const fn wdil(&self) -> bool

Watchdog Interrupt Line

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

Watchdog Interrupt Line

pub const fn peal(&self) -> bool

Protocol Error in Arbitration Phase Line

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

Protocol Error in Arbitration Phase Line

pub const fn pedl(&self) -> bool

Protocol Error in Data Phase Line

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

Protocol Error in Data Phase Line

pub const fn aral(&self) -> bool

Access to Reserved Address Line

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

Access to Reserved Address Line

Trait Implementations§

§

impl Clone for Ils

§

fn clone(&self) -> Ils

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 Ils

§

fn default() -> Ils

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

impl PartialEq for Ils

§

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

§

impl Eq for Ils

§

impl StructuralPartialEq for Ils

Auto Trait Implementations§

§

impl Freeze for Ils

§

impl RefUnwindSafe for Ils

§

impl Send for Ils

§

impl Sync for Ils

§

impl Unpin for Ils

§

impl UnwindSafe for Ils

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.