Struct atsam4e16c_pac::can0::imr::R

source ·
pub struct R(_);
Expand description

Register IMR reader

Implementations§

source§

impl R

source

pub fn mb0(&self) -> MB0_R

Bit 0 - Mailbox 0 Interrupt Mask

source

pub fn mb1(&self) -> MB1_R

Bit 1 - Mailbox 1 Interrupt Mask

source

pub fn mb2(&self) -> MB2_R

Bit 2 - Mailbox 2 Interrupt Mask

source

pub fn mb3(&self) -> MB3_R

Bit 3 - Mailbox 3 Interrupt Mask

source

pub fn mb4(&self) -> MB4_R

Bit 4 - Mailbox 4 Interrupt Mask

source

pub fn mb5(&self) -> MB5_R

Bit 5 - Mailbox 5 Interrupt Mask

source

pub fn mb6(&self) -> MB6_R

Bit 6 - Mailbox 6 Interrupt Mask

source

pub fn mb7(&self) -> MB7_R

Bit 7 - Mailbox 7 Interrupt Mask

source

pub fn erra(&self) -> ERRA_R

Bit 16 - Error Active Mode Interrupt Mask

source

pub fn warn(&self) -> WARN_R

Bit 17 - Warning Limit Interrupt Mask

source

pub fn errp(&self) -> ERRP_R

Bit 18 - Error Passive Mode Interrupt Mask

source

pub fn boff(&self) -> BOFF_R

Bit 19 - Bus Off Mode Interrupt Mask

source

pub fn sleep(&self) -> SLEEP_R

Bit 20 - Sleep Interrupt Mask

source

pub fn wakeup(&self) -> WAKEUP_R

Bit 21 - Wakeup Interrupt Mask

source

pub fn tovf(&self) -> TOVF_R

Bit 22 - Timer Overflow Interrupt Mask

source

pub fn tstp(&self) -> TSTP_R

Bit 23 - Timestamp Interrupt Mask

source

pub fn cerr(&self) -> CERR_R

Bit 24 - CRC Error Interrupt Mask

source

pub fn serr(&self) -> SERR_R

Bit 25 - Stuffing Error Interrupt Mask

source

pub fn aerr(&self) -> AERR_R

Bit 26 - Acknowledgment Error Interrupt Mask

source

pub fn ferr(&self) -> FERR_R

Bit 27 - Form Error Interrupt Mask

source

pub fn berr(&self) -> BERR_R

Bit 28 - Bit Error Interrupt Mask

Methods from Deref<Target = R<IMR_SPEC>>§

source

pub fn bits(&self) -> REG::Ux

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<IMR_SPEC>

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl From<R<IMR_SPEC>> for R

source§

fn from(reader: R<IMR_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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 Twhere 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 Twhere 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.