Struct zinc_hal_lpc11xx::ioregs::C_CAN_canif1_mctrl_Update [] [src]

pub struct C_CAN_canif1_mctrl_Update<'a> {
    // some fields omitted
}

Updater for CANIF1_MCTRL register.

Methods

impl<'a> C_CAN_canif1_mctrl_Update<'a>

fn new(reg: &'a C_CAN_canif1_mctrl) -> C_CAN_canif1_mctrl_Update<'a>

Create a new updater.

fn new_ignoring_state(reg: &'a C_CAN_canif1_mctrl) -> C_CAN_canif1_mctrl_Update<'a>

Create a new updater that ignores current state.

fn set_dlc_3_0<'b>(&'b mut self, new_value: u32) -> &'b mut C_CAN_canif1_mctrl_Update<'a>

Set value of DLC_3_0 field.

fn set_eob<'b>(&'b mut self, new_value: C_CAN_canif1_mctrl_eob) -> &'b mut C_CAN_canif1_mctrl_Update<'a>

Set value of EOB field.

fn set_txrqst<'b>(&'b mut self, new_value: C_CAN_canif1_mctrl_txrqst) -> &'b mut C_CAN_canif1_mctrl_Update<'a>

Set value of TXRQST field.

fn set_rmten<'b>(&'b mut self, new_value: C_CAN_canif1_mctrl_rmten) -> &'b mut C_CAN_canif1_mctrl_Update<'a>

Set value of RMTEN field.

fn set_rxie<'b>(&'b mut self, new_value: C_CAN_canif1_mctrl_rxie) -> &'b mut C_CAN_canif1_mctrl_Update<'a>

Set value of RXIE field.

fn set_txie<'b>(&'b mut self, new_value: C_CAN_canif1_mctrl_txie) -> &'b mut C_CAN_canif1_mctrl_Update<'a>

Set value of TXIE field.

fn set_umask<'b>(&'b mut self, new_value: C_CAN_canif1_mctrl_umask) -> &'b mut C_CAN_canif1_mctrl_Update<'a>

Set value of UMASK field.

fn set_intpnd<'b>(&'b mut self, new_value: C_CAN_canif1_mctrl_intpnd) -> &'b mut C_CAN_canif1_mctrl_Update<'a>

Set value of INTPND field.

fn set_msglst<'b>(&'b mut self, new_value: C_CAN_canif1_mctrl_msglst) -> &'b mut C_CAN_canif1_mctrl_Update<'a>

Set value of MSGLST field.

fn set_newdat<'b>(&'b mut self, new_value: C_CAN_canif1_mctrl_newdat) -> &'b mut C_CAN_canif1_mctrl_Update<'a>

Set value of NEWDAT field.

fn done(self)

Commit changes to register.

Trait Implementations

impl<'a> Drop for C_CAN_canif1_mctrl_Update<'a>

This performs the register update.

fn drop(&mut self)