Struct zinc_hal_lpc11xx::ioregs::C_CAN_canif2_da1
[−]
[src]
pub struct C_CAN_canif2_da1 { // some fields omitted }
Register CANIF2_DA1
: Message interface 1 data A1
Methods
impl C_CAN_canif2_da1
fn get(&self) -> C_CAN_canif2_da1_Get
Fetch the value of the CANIF2_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_canif2_da1_Update
Create new updater that ignores current value of the CANIF2_DA1
register.
fn set_data0<'a>(&'a mut self, new_value: u32) -> C_CAN_canif2_da1_Update<'a>
Set value of DATA0
field.
fn set_data1<'a>(&'a mut self, new_value: u32) -> C_CAN_canif2_da1_Update<'a>
Set value of DATA1
field.