stm32-metapac

Crates

git

Versions

stm32h7s7l8

Flavors

๐Ÿ“ฃ We want to hear from you! Fill the Rust Embedded 2024 micro-survey.

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 ยท sourceยง

fn ne(&self, other: &Rhs) -> bool

This method 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 StructuralEq for Ils

ยง

impl StructuralPartialEq for Ils

Auto Trait Implementationsยง

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> 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>,

ยง

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>,

ยง

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.