Struct zinc_hal_lpc11xx::ioregs::C_CAN_canif1_mctrl [] [src]

pub struct C_CAN_canif1_mctrl {
    // some fields omitted
}

Register CANIF1_MCTRL: Message interface 1 message control

Methods

impl C_CAN_canif1_mctrl

fn get(&self) -> C_CAN_canif1_mctrl_Get

Fetch the value of the CANIF1_MCTRL register.

fn dlc_3_0(&self) -> u32

Get value of DLC_3_0 field.

fn eob(&self) -> C_CAN_canif1_mctrl_eob

Get value of EOB field.

fn txrqst(&self) -> C_CAN_canif1_mctrl_txrqst

Get value of TXRQST field.

fn rmten(&self) -> C_CAN_canif1_mctrl_rmten

Get value of RMTEN field.

fn rxie(&self) -> C_CAN_canif1_mctrl_rxie

Get value of RXIE field.

fn txie(&self) -> C_CAN_canif1_mctrl_txie

Get value of TXIE field.

fn umask(&self) -> C_CAN_canif1_mctrl_umask

Get value of UMASK field.

fn intpnd(&self) -> C_CAN_canif1_mctrl_intpnd

Get value of INTPND field.

fn msglst(&self) -> C_CAN_canif1_mctrl_msglst

Get value of MSGLST field.

fn newdat(&self) -> C_CAN_canif1_mctrl_newdat

Get value of NEWDAT field.

fn ignoring_state(&self) -> C_CAN_canif1_mctrl_Update

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

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

Set value of DLC_3_0 field.

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

Set value of EOB field.

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

Set value of TXRQST field.

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

Set value of RMTEN field.

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

Set value of RXIE field.

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

Set value of TXIE field.

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

Set value of UMASK field.

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

Set value of INTPND field.

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

Set value of MSGLST field.

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

Set value of NEWDAT field.

Trait Implementations

impl Copy for C_CAN_canif1_mctrl

Derived Implementations

impl Clone for C_CAN_canif1_mctrl

fn clone(&self) -> C_CAN_canif1_mctrl

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