Struct zinc_hal_lpc11xx::ioregs::C_CAN_canif2_arb2 [] [src]

pub struct C_CAN_canif2_arb2 {
    // some fields omitted
}

Register CANIF2_ARB2: Message interface 1 arbitration 2

Methods

impl C_CAN_canif2_arb2

fn get(&self) -> C_CAN_canif2_arb2_Get

Fetch the value of the CANIF2_ARB2 register.

fn id_28_16(&self) -> u32

Get value of ID_28_16 field.

fn dir(&self) -> C_CAN_canif2_arb2_dir

Get value of DIR field.

fn xtd(&self) -> C_CAN_canif2_arb2_xtd

Get value of XTD field.

fn msgval(&self) -> C_CAN_canif2_arb2_msgval

Get value of MSGVAL field.

fn ignoring_state(&self) -> C_CAN_canif2_arb2_Update

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

fn set_id_28_16<'a>(&'a mut self, new_value: u32) -> C_CAN_canif2_arb2_Update<'a>

Set value of ID_28_16 field.

fn set_dir<'a>(&'a mut self, new_value: C_CAN_canif2_arb2_dir) -> C_CAN_canif2_arb2_Update<'a>

Set value of DIR field.

fn set_xtd<'a>(&'a mut self, new_value: C_CAN_canif2_arb2_xtd) -> C_CAN_canif2_arb2_Update<'a>

Set value of XTD field.

fn set_msgval<'a>(&'a mut self, new_value: C_CAN_canif2_arb2_msgval) -> C_CAN_canif2_arb2_Update<'a>

Set value of MSGVAL field.

Trait Implementations

impl Copy for C_CAN_canif2_arb2

Derived Implementations

impl Clone for C_CAN_canif2_arb2

fn clone(&self) -> C_CAN_canif2_arb2

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