[][src]Struct k64::can0::cs8::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 time_stamp(&self) -> TIME_STAMPR[src]

Bits 0:15 - Free-Running Counter Time stamp. This 16-bit field is a copy of the Free-Running Timer, captured for Tx and Rx frames at the time when the beginning of the Identifier field appears on the CAN bus.

pub fn dlc(&self) -> DLCR[src]

Bits 16:19 - Length of the data to be stored/transmitted.

pub fn rtr(&self) -> RTRR[src]

Bit 20 - Remote Transmission Request. One/zero for remote/data frame.

pub fn ide(&self) -> IDER[src]

Bit 21 - ID Extended. One/zero for extended/standard format frame.

pub fn srr(&self) -> SRRR[src]

Bit 22 - Substitute Remote Request. Contains a fixed recessive bit.

pub fn code(&self) -> CODER[src]

Bits 24:27 - Reserved

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 = Infallible

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

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]