Struct zinc_hal_lpc11xx::ioregs::C_CAN_canif2_da1_Get [] [src]

pub struct C_CAN_canif2_da1_Get {
    // some fields omitted
}

CANIF2_DA1: Message interface 1 data A1

Methods

impl C_CAN_canif2_da1_Get

fn new(reg: &C_CAN_canif2_da1) -> C_CAN_canif2_da1_Get

Create a getter reflecting the current value of the given register.

fn raw(&self) -> u32

Get the raw value of the register.

fn data0(&self) -> u32

Get value of DATA0 field: Data byte 0

fn data1(&self) -> u32

Get value of DATA1 field: Data byte 1

Trait Implementations

impl Copy for C_CAN_canif2_da1_Get

Derived Implementations

impl Clone for C_CAN_canif2_da1_Get

fn clone(&self) -> C_CAN_canif2_da1_Get

fn clone_from(&mut self, source: &Self)