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