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::Ttils

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

FDCAN TT Interrupt Line Select Register

Tuple Fieldsยง

ยง0: u32

Implementationsยง

ยง

impl Ttils

pub const fn sbcl(&self) -> bool

Start of Basic Cycle Interrupt Line

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

Start of Basic Cycle Interrupt Line

pub const fn smcl(&self) -> bool

Start of Matrix Cycle Interrupt Line

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

Start of Matrix Cycle Interrupt Line

pub const fn csml(&self) -> bool

Change of Synchronization Mode Interrupt Line

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

Change of Synchronization Mode Interrupt Line

pub const fn sogl(&self) -> bool

Start of Gap Interrupt Line

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

Start of Gap Interrupt Line

pub const fn rtmil(&self) -> bool

Register Time Mark Interrupt Line

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

Register Time Mark Interrupt Line

pub const fn ttmil(&self) -> bool

Trigger Time Mark Event Internal Interrupt Line

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

Trigger Time Mark Event Internal Interrupt Line

pub const fn swel(&self) -> bool

Stop Watch Event Interrupt Line

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

Stop Watch Event Interrupt Line

pub const fn gtwl(&self) -> bool

Global Time Wrap Interrupt Line

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

Global Time Wrap Interrupt Line

pub const fn gtdl(&self) -> bool

Global Time Discontinuity Interrupt Line

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

Global Time Discontinuity Interrupt Line

pub const fn gtel(&self) -> bool

Global Time Error Interrupt Line

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

Global Time Error Interrupt Line

pub const fn txul(&self) -> bool

Tx Count Underflow Interrupt Line

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

Tx Count Underflow Interrupt Line

pub const fn txol(&self) -> bool

Tx Count Overflow Interrupt Line

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

Tx Count Overflow Interrupt Line

pub const fn se1l(&self) -> bool

Scheduling Error 1 Interrupt Line

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

Scheduling Error 1 Interrupt Line

pub const fn se2l(&self) -> bool

Scheduling Error 2 Interrupt Line

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

Scheduling Error 2 Interrupt Line

pub const fn elcl(&self) -> bool

Change Error Level Interrupt Line

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

Change Error Level Interrupt Line

pub const fn iwtgl(&self) -> bool

Initialization Watch Trigger Interrupt Line

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

Initialization Watch Trigger Interrupt Line

pub const fn wtl(&self) -> bool

Watch Trigger Interrupt Line

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

Watch Trigger Interrupt Line

pub const fn awl(&self) -> bool

Application Watchdog Interrupt Line

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

Application Watchdog Interrupt Line

pub const fn cerl(&self) -> bool

Configuration Error Interrupt Line

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

Configuration Error Interrupt Line

Trait Implementationsยง

ยง

impl Clone for Ttils

ยง

fn clone(&self) -> Ttils

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 Ttils

ยง

fn default() -> Ttils

Returns the โ€œdefault valueโ€ for a type. Read more
ยง

impl PartialEq for Ttils

ยง

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

ยง

impl Eq for Ttils

ยง

impl StructuralEq for Ttils

ยง

impl StructuralPartialEq for Ttils

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.