Struct gd32vf103_pac::can0::tstat::R

source ·
pub struct R(_);
Expand description

Register TSTAT reader

Implementations§

source§

impl R

source

pub fn mtf0(&self) -> MTF0_R

Bit 0 - Mailbox 0 transmit finished

source

pub fn mtfnerr0(&self) -> MTFNERR0_R

Bit 1 - Mailbox 0 transmit finished and no error

source

pub fn mal0(&self) -> MAL0_R

Bit 2 - Mailbox 0 arbitration lost

source

pub fn mte0(&self) -> MTE0_R

Bit 3 - Mailbox 0 transmit error

source

pub fn mst0(&self) -> MST0_R

Bit 7 - Mailbox 0 stop transmitting

source

pub fn mtf1(&self) -> MTF1_R

Bit 8 - Mailbox 1 transmit finished

source

pub fn mtfnerr1(&self) -> MTFNERR1_R

Bit 9 - Mailbox 1 transmit finished and no error

source

pub fn mal1(&self) -> MAL1_R

Bit 10 - Mailbox 1 arbitration lost

source

pub fn mte1(&self) -> MTE1_R

Bit 11 - Mailbox 1 transmit error

source

pub fn mst1(&self) -> MST1_R

Bit 15 - Mailbox 1 stop transmitting

source

pub fn mtf2(&self) -> MTF2_R

Bit 16 - Mailbox 2 transmit finished

source

pub fn mtfnerr2(&self) -> MTFNERR2_R

Bit 17 - Mailbox 2 transmit finished and no error

source

pub fn mal2(&self) -> MAL2_R

Bit 18 - Mailbox 2 arbitration lost

source

pub fn mte2(&self) -> MTE2_R

Bit 19 - Mailbox 2 transmit error

source

pub fn mst2(&self) -> MST2_R

Bit 23 - Mailbox 2 stop transmitting

source

pub fn num(&self) -> NUM_R

Bits 24:25 - number of the transmit FIFO mailbox in which the frame will be transmitted if at least one mailbox is empty

source

pub fn tme0(&self) -> TME0_R

Bit 26 - Transmit mailbox 0 empty

source

pub fn tme1(&self) -> TME1_R

Bit 27 - Transmit mailbox 1 empty

source

pub fn tme2(&self) -> TME2_R

Bit 28 - Transmit mailbox 2 empty

source

pub fn tmls0(&self) -> TMLS0_R

Bit 29 - Transmit mailbox 0 last sending in transmit FIFO

source

pub fn tmls1(&self) -> TMLS1_R

Bit 30 - Transmit mailbox 1 last sending in transmit FIFO

source

pub fn tmls2(&self) -> TMLS2_R

Bit 31 - Transmit mailbox 2 last sending in transmit FIFO

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

source

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

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<TSTAT_SPEC>

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl From<R<TSTAT_SPEC>> for R

source§

fn from(reader: R<TSTAT_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.