[][src]Struct gd32vf103_pac::can0::stat::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn rxl(&self) -> RXLR[src]

Bit 11 - RX level

pub fn lastrx(&self) -> LASTRXR[src]

Bit 10 - Last sample value of RX pin

pub fn rs(&self) -> RSR[src]

Bit 9 - Receiving state

pub fn ts(&self) -> TSR[src]

Bit 8 - Transmitting state

pub fn slpif(&self) -> SLPIFR[src]

Bit 4 - Status change interrupt flag of sleep working mode entering

pub fn wuif(&self) -> WUIFR[src]

Bit 3 - Status change interrupt flag of wakeup from sleep working mode

pub fn errif(&self) -> ERRIFR[src]

Bit 2 - Error interrupt flag

pub fn slpws(&self) -> SLPWSR[src]

Bit 1 - Sleep working state

pub fn iws(&self) -> IWSR[src]

Bit 0 - Initial working state

Auto Trait Implementations

impl Unpin for R

impl Sync for R

impl Send for R

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]