Struct atsame70n21b::mcan0::ir::R

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

Register IR reader

Implementations§

source§

impl R

source

pub fn rf0n(&self) -> RF0N_R

Bit 0 - Receive FIFO 0 New Message

source

pub fn rf0w(&self) -> RF0W_R

Bit 1 - Receive FIFO 0 Watermark Reached

source

pub fn rf0f(&self) -> RF0F_R

Bit 2 - Receive FIFO 0 Full

source

pub fn rf0l(&self) -> RF0L_R

Bit 3 - Receive FIFO 0 Message Lost

source

pub fn rf1n(&self) -> RF1N_R

Bit 4 - Receive FIFO 1 New Message

source

pub fn rf1w(&self) -> RF1W_R

Bit 5 - Receive FIFO 1 Watermark Reached

source

pub fn rf1f(&self) -> RF1F_R

Bit 6 - Receive FIFO 1 Full

source

pub fn rf1l(&self) -> RF1L_R

Bit 7 - Receive FIFO 1 Message Lost

source

pub fn hpm(&self) -> HPM_R

Bit 8 - High Priority Message

source

pub fn tc(&self) -> TC_R

Bit 9 - Transmission Completed

source

pub fn tcf(&self) -> TCF_R

Bit 10 - Transmission Cancellation Finished

source

pub fn tfe(&self) -> TFE_R

Bit 11 - Tx FIFO Empty

source

pub fn tefn(&self) -> TEFN_R

Bit 12 - Tx Event FIFO New Entry

source

pub fn tefw(&self) -> TEFW_R

Bit 13 - Tx Event FIFO Watermark Reached

source

pub fn teff(&self) -> TEFF_R

Bit 14 - Tx Event FIFO Full

source

pub fn tefl(&self) -> TEFL_R

Bit 15 - Tx Event FIFO Element Lost

source

pub fn tsw(&self) -> TSW_R

Bit 16 - Timestamp Wraparound

source

pub fn mraf(&self) -> MRAF_R

Bit 17 - Message RAM Access Failure

source

pub fn too(&self) -> TOO_R

Bit 18 - Timeout Occurred

source

pub fn drx(&self) -> DRX_R

Bit 19 - Message stored to Dedicated Receive Buffer

source

pub fn elo(&self) -> ELO_R

Bit 22 - Error Logging Overflow

source

pub fn ep(&self) -> EP_R

Bit 23 - Error Passive

source

pub fn ew(&self) -> EW_R

Bit 24 - Warning Status

source

pub fn bo(&self) -> BO_R

Bit 25 - Bus_Off Status

source

pub fn wdi(&self) -> WDI_R

Bit 26 - Watchdog Interrupt

source

pub fn pea(&self) -> PEA_R

Bit 27 - Protocol Error in Arbitration Phase

source

pub fn ped(&self) -> PED_R

Bit 28 - Protocol Error in Data Phase

source

pub fn ara(&self) -> ARA_R

Bit 29 - Access to Reserved Address

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

source

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

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<IR_SPEC>

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl From<R<IR_SPEC>> for R

source§

fn from(original: R<IR_SPEC>) -> R

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