Struct stm32_metapac::can::regs::Ttie

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

FDCAN TT Interrupt Enable Register

Tuple Fields§

§0: u32

Implementations§

§

impl Ttie

pub const fn sbce(&self) -> bool

Start of Basic Cycle Interrupt Enable

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

Start of Basic Cycle Interrupt Enable

pub const fn smce(&self) -> bool

Start of Matrix Cycle Interrupt Enable

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

Start of Matrix Cycle Interrupt Enable

pub const fn csme(&self) -> bool

Change of Synchronization Mode Interrupt Enable

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

Change of Synchronization Mode Interrupt Enable

pub const fn soge(&self) -> bool

Start of Gap Interrupt Enable

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

Start of Gap Interrupt Enable

pub const fn rtmie(&self) -> bool

Register Time Mark Interrupt Enable

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

Register Time Mark Interrupt Enable

pub const fn ttmie(&self) -> bool

Trigger Time Mark Event Internal Interrupt Enable

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

Trigger Time Mark Event Internal Interrupt Enable

pub const fn swee(&self) -> bool

Stop Watch Event Interrupt Enable

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

Stop Watch Event Interrupt Enable

pub const fn gtwe(&self) -> bool

Global Time Wrap Interrupt Enable

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

Global Time Wrap Interrupt Enable

pub const fn gtde(&self) -> bool

Global Time Discontinuity Interrupt Enable

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

Global Time Discontinuity Interrupt Enable

pub const fn gtee(&self) -> bool

Global Time Error Interrupt Enable

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

Global Time Error Interrupt Enable

pub const fn txue(&self) -> bool

Tx Count Underflow Interrupt Enable

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

Tx Count Underflow Interrupt Enable

pub const fn txoe(&self) -> bool

Tx Count Overflow Interrupt Enable

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

Tx Count Overflow Interrupt Enable

pub const fn se1e(&self) -> bool

Scheduling Error 1 Interrupt Enable

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

Scheduling Error 1 Interrupt Enable

pub const fn se2e(&self) -> bool

Scheduling Error 2 Interrupt Enable

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

Scheduling Error 2 Interrupt Enable

pub const fn elce(&self) -> bool

Change Error Level Interrupt Enable

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

Change Error Level Interrupt Enable

pub const fn iwtge(&self) -> bool

Initialization Watch Trigger Interrupt Enable

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

Initialization Watch Trigger Interrupt Enable

pub const fn wte(&self) -> bool

Watch Trigger Interrupt Enable

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

Watch Trigger Interrupt Enable

pub const fn awe(&self) -> bool

Application Watchdog Interrupt Enable

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

Application Watchdog Interrupt Enable

pub const fn cere(&self) -> bool

Configuration Error Interrupt Enable

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

Configuration Error Interrupt Enable

Trait Implementations§

§

impl Clone for Ttie

§

fn clone(&self) -> Ttie

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 Ttie

§

fn default() -> Ttie

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

impl PartialEq for Ttie

§

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

§

impl Eq for Ttie

§

impl StructuralEq for Ttie

§

impl StructuralPartialEq for Ttie

Auto Trait Implementations§

§

impl RefUnwindSafe for Ttie

§

impl Send for Ttie

§

impl Sync for Ttie

§

impl Unpin for Ttie

§

impl UnwindSafe for Ttie

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.