[][src]Struct lpc176x_5x::ccan::rxsr::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 rs1(&self) -> RS1R[src]

Bit 0 - When 1, CAN1 is receiving a message (same as RS in CAN1GSR).

pub fn rs2(&self) -> RS2R[src]

Bit 1 - When 1, CAN2 is receiving a message (same as RS in CAN2GSR).

pub fn rb1(&self) -> RB1R[src]

Bit 8 - When 1, a received message is available in the CAN1 controller (same as RBS in CAN1GSR).

pub fn rb2(&self) -> RB2R[src]

Bit 9 - When 1, a received message is available in the CAN2 controller (same as RBS in CAN2GSR).

pub fn dos1(&self) -> DOS1R[src]

Bit 16 - When 1, a message was lost because the preceding message to CAN1 controller was not read out quickly enough (same as DOS in CAN1GSR).

pub fn dos2(&self) -> DOS2R[src]

Bit 17 - When 1, a message was lost because the preceding message to CAN2 controller was not read out quickly enough (same as DOS in CAN2GSR).

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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