[][src]Type Definition k22f::can0::cs0::R

type R = R<u32, CS0>;

Reader of register CS0

Methods

impl R[src]

pub fn time_stamp(&self) -> TIME_STAMP_R[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) -> DLC_R[src]

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

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

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

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

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

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

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

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

Bits 24:27 - Reserved