Struct zinc_hal_lpc11xx::ioregs::C_CAN_canif2_db2 [] [src]

pub struct C_CAN_canif2_db2 {
    // some fields omitted
}

Register CANIF2_DB2: Message interface 1 data B2

Methods

impl C_CAN_canif2_db2

fn get(&self) -> C_CAN_canif2_db2_Get

Fetch the value of the CANIF2_DB2 register.

fn data6(&self) -> u32

Get value of DATA6 field.

fn data7(&self) -> u32

Get value of DATA7 field.

fn ignoring_state(&self) -> C_CAN_canif2_db2_Update

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

fn set_data6<'a>(&'a mut self, new_value: u32) -> C_CAN_canif2_db2_Update<'a>

Set value of DATA6 field.

fn set_data7<'a>(&'a mut self, new_value: u32) -> C_CAN_canif2_db2_Update<'a>

Set value of DATA7 field.

Trait Implementations

impl Copy for C_CAN_canif2_db2

Derived Implementations

impl Clone for C_CAN_canif2_db2

fn clone(&self) -> C_CAN_canif2_db2

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