Struct atsame70n21b::mcan0::ie::W

source ·
pub struct W(/* private fields */);
Expand description

Register IE writer

Implementations§

source§

impl W

source

pub fn rf0ne(&mut self) -> RF0NE_W<'_, 0>

Bit 0 - Receive FIFO 0 New Message Interrupt Enable

source

pub fn rf0we(&mut self) -> RF0WE_W<'_, 1>

Bit 1 - Receive FIFO 0 Watermark Reached Interrupt Enable

source

pub fn rf0fe(&mut self) -> RF0FE_W<'_, 2>

Bit 2 - Receive FIFO 0 Full Interrupt Enable

source

pub fn rf0le(&mut self) -> RF0LE_W<'_, 3>

Bit 3 - Receive FIFO 0 Message Lost Interrupt Enable

source

pub fn rf1ne(&mut self) -> RF1NE_W<'_, 4>

Bit 4 - Receive FIFO 1 New Message Interrupt Enable

source

pub fn rf1we(&mut self) -> RF1WE_W<'_, 5>

Bit 5 - Receive FIFO 1 Watermark Reached Interrupt Enable

source

pub fn rf1fe(&mut self) -> RF1FE_W<'_, 6>

Bit 6 - Receive FIFO 1 Full Interrupt Enable

source

pub fn rf1le(&mut self) -> RF1LE_W<'_, 7>

Bit 7 - Receive FIFO 1 Message Lost Interrupt Enable

source

pub fn hpme(&mut self) -> HPME_W<'_, 8>

Bit 8 - High Priority Message Interrupt Enable

source

pub fn tce(&mut self) -> TCE_W<'_, 9>

Bit 9 - Transmission Completed Interrupt Enable

source

pub fn tcfe(&mut self) -> TCFE_W<'_, 10>

Bit 10 - Transmission Cancellation Finished Interrupt Enable

source

pub fn tfee(&mut self) -> TFEE_W<'_, 11>

Bit 11 - Tx FIFO Empty Interrupt Enable

source

pub fn tefne(&mut self) -> TEFNE_W<'_, 12>

Bit 12 - Tx Event FIFO New Entry Interrupt Enable

source

pub fn tefwe(&mut self) -> TEFWE_W<'_, 13>

Bit 13 - Tx Event FIFO Watermark Reached Interrupt Enable

source

pub fn teffe(&mut self) -> TEFFE_W<'_, 14>

Bit 14 - Tx Event FIFO Full Interrupt Enable

source

pub fn tefle(&mut self) -> TEFLE_W<'_, 15>

Bit 15 - Tx Event FIFO Event Lost Interrupt Enable

source

pub fn tswe(&mut self) -> TSWE_W<'_, 16>

Bit 16 - Timestamp Wraparound Interrupt Enable

source

pub fn mrafe(&mut self) -> MRAFE_W<'_, 17>

Bit 17 - Message RAM Access Failure Interrupt Enable

source

pub fn tooe(&mut self) -> TOOE_W<'_, 18>

Bit 18 - Timeout Occurred Interrupt Enable

source

pub fn drxe(&mut self) -> DRXE_W<'_, 19>

Bit 19 - Message stored to Dedicated Receive Buffer Interrupt Enable

source

pub fn eloe(&mut self) -> ELOE_W<'_, 22>

Bit 22 - Error Logging Overflow Interrupt Enable

source

pub fn epe(&mut self) -> EPE_W<'_, 23>

Bit 23 - Error Passive Interrupt Enable

source

pub fn ewe(&mut self) -> EWE_W<'_, 24>

Bit 24 - Warning Status Interrupt Enable

source

pub fn boe(&mut self) -> BOE_W<'_, 25>

Bit 25 - Bus_Off Status Interrupt Enable

source

pub fn wdie(&mut self) -> WDIE_W<'_, 26>

Bit 26 - Watchdog Interrupt Enable

source

pub fn peae(&mut self) -> PEAE_W<'_, 27>

Bit 27 - Protocol Error in Arbitration Phase Enable

source

pub fn pede(&mut self) -> PEDE_W<'_, 28>

Bit 28 - Protocol Error in Data Phase Enable

source

pub fn arae(&mut self) -> ARAE_W<'_, 29>

Bit 29 - Access to Reserved Address Enable

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Methods from Deref<Target = W<IE_SPEC>>§

source

pub unsafe fn bits(&mut self, bits: REG::Ux) -> &mut Self

Writes raw bits to the register.

Safety

Read datasheet or reference manual to find what values are allowed to pass.

Trait Implementations§

source§

impl Deref for W

§

type Target = W<IE_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for W

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl From<W<IE_SPEC>> for W

source§

fn from(original: W<IE_SPEC>) -> W

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for W

§

impl Send for W

§

impl Sync for W

§

impl Unpin for W

§

impl UnwindSafe for W

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.