Struct zinc_hal_lpc11xx::ioregs::C_CAN_canif1_db1 [] [src]

pub struct C_CAN_canif1_db1 {
    // some fields omitted
}

Register CANIF1_DB1: Message interface 1 data B1

Methods

impl C_CAN_canif1_db1

fn get(&self) -> C_CAN_canif1_db1_Get

Fetch the value of the CANIF1_DB1 register.

fn data4(&self) -> u32

Get value of DATA4 field.

fn data5(&self) -> u32

Get value of DATA5 field.

fn ignoring_state(&self) -> C_CAN_canif1_db1_Update

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

fn set_data4<'a>(&'a mut self, new_value: u32) -> C_CAN_canif1_db1_Update<'a>

Set value of DATA4 field.

fn set_data5<'a>(&'a mut self, new_value: u32) -> C_CAN_canif1_db1_Update<'a>

Set value of DATA5 field.

Trait Implementations

impl Copy for C_CAN_canif1_db1

Derived Implementations

impl Clone for C_CAN_canif1_db1

fn clone(&self) -> C_CAN_canif1_db1

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