Struct zinc_hal_lpc11xx::ioregs::C_CAN_canif1_da1 [] [src]

pub struct C_CAN_canif1_da1 {
    // some fields omitted
}

Register CANIF1_DA1: Message interface 1 data A1

Methods

impl C_CAN_canif1_da1

fn get(&self) -> C_CAN_canif1_da1_Get

Fetch the value of the CANIF1_DA1 register.

fn data0(&self) -> u32

Get value of DATA0 field.

fn data1(&self) -> u32

Get value of DATA1 field.

fn ignoring_state(&self) -> C_CAN_canif1_da1_Update

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

fn set_data0<'a>(&'a mut self, new_value: u32) -> C_CAN_canif1_da1_Update<'a>

Set value of DATA0 field.

fn set_data1<'a>(&'a mut self, new_value: u32) -> C_CAN_canif1_da1_Update<'a>

Set value of DATA1 field.

Trait Implementations

impl Copy for C_CAN_canif1_da1

Derived Implementations

impl Clone for C_CAN_canif1_da1

fn clone(&self) -> C_CAN_canif1_da1

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