Struct zinc_hal_lpc11xx::ioregs::C_CAN_canif2_da1_Update
[−]
[src]
pub struct C_CAN_canif2_da1_Update<'a> {
// some fields omitted
}Updater for CANIF2_DA1 register.
Methods
impl<'a> C_CAN_canif2_da1_Update<'a>
fn new(reg: &'a C_CAN_canif2_da1) -> C_CAN_canif2_da1_Update<'a>
Create a new updater.
fn new_ignoring_state(reg: &'a C_CAN_canif2_da1) -> C_CAN_canif2_da1_Update<'a>
Create a new updater that ignores current state.
fn set_data0<'b>(&'b mut self, new_value: u32) -> &'b mut C_CAN_canif2_da1_Update<'a>
Set value of DATA0 field.
fn set_data1<'b>(&'b mut self, new_value: u32) -> &'b mut C_CAN_canif2_da1_Update<'a>
Set value of DATA1 field.
fn done(self)
Commit changes to register.
Trait Implementations
impl<'a> Drop for C_CAN_canif2_da1_Update<'a>
This performs the register update.