Struct zinc_hal_lpc11xx::ioregs::C_CAN_canif2_da2 [] [src]

pub struct C_CAN_canif2_da2 {
    // some fields omitted
}

Register CANIF2_DA2: Message interface 1 data A2

Methods

impl C_CAN_canif2_da2

fn get(&self) -> C_CAN_canif2_da2_Get

Fetch the value of the CANIF2_DA2 register.

fn data2(&self) -> u32

Get value of DATA2 field.

fn data3(&self) -> u32

Get value of DATA3 field.

fn ignoring_state(&self) -> C_CAN_canif2_da2_Update

Create new updater that ignores current value of the CANIF2_DA2 register.

fn set_data2<'a>(&'a mut self, new_value: u32) -> C_CAN_canif2_da2_Update<'a>

Set value of DATA2 field.

fn set_data3<'a>(&'a mut self, new_value: u32) -> C_CAN_canif2_da2_Update<'a>

Set value of DATA3 field.

Trait Implementations

impl Copy for C_CAN_canif2_da2

Derived Implementations

impl Clone for C_CAN_canif2_da2

fn clone(&self) -> C_CAN_canif2_da2

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