Struct zinc_hal_lpc11xx::ioregs::C_CAN_canif1_msk2 [] [src]

pub struct C_CAN_canif1_msk2 {
    // some fields omitted
}

Register CANIF1_MSK2: Message interface 1 mask 2

Methods

impl C_CAN_canif1_msk2

fn get(&self) -> C_CAN_canif1_msk2_Get

Fetch the value of the CANIF1_MSK2 register.

fn msk_28_16(&self) -> C_CAN_canif1_msk2_msk_28_16

Get value of MSK_28_16 field.

fn mdir(&self) -> C_CAN_canif1_msk2_mdir

Get value of MDIR field.

fn mxtd(&self) -> C_CAN_canif1_msk2_mxtd

Get value of MXTD field.

fn ignoring_state(&self) -> C_CAN_canif1_msk2_Update

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

fn set_msk_28_16<'a>(&'a mut self, new_value: C_CAN_canif1_msk2_msk_28_16) -> C_CAN_canif1_msk2_Update<'a>

Set value of MSK_28_16 field.

fn set_mdir<'a>(&'a mut self, new_value: C_CAN_canif1_msk2_mdir) -> C_CAN_canif1_msk2_Update<'a>

Set value of MDIR field.

fn set_mxtd<'a>(&'a mut self, new_value: C_CAN_canif1_msk2_mxtd) -> C_CAN_canif1_msk2_Update<'a>

Set value of MXTD field.

Trait Implementations

impl Copy for C_CAN_canif1_msk2

Derived Implementations

impl Clone for C_CAN_canif1_msk2

fn clone(&self) -> C_CAN_canif1_msk2

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