Struct zinc_hal_lpc11xx::ioregs::C_CAN_canif2_cmdreq [] [src]

pub struct C_CAN_canif2_cmdreq {
    // some fields omitted
}

Register CANIF2_CMDREQ: Message interface command request

Methods

impl C_CAN_canif2_cmdreq

fn get(&self) -> C_CAN_canif2_cmdreq_Get

Fetch the value of the CANIF2_CMDREQ register.

fn mn(&self) -> u32

Get value of MN field.

fn busy(&self) -> C_CAN_canif2_cmdreq_busy

Get value of BUSY field.

fn ignoring_state(&self) -> C_CAN_canif2_cmdreq_Update

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

fn set_mn<'a>(&'a mut self, new_value: u32) -> C_CAN_canif2_cmdreq_Update<'a>

Set value of MN field.

fn set_busy<'a>(&'a mut self, new_value: C_CAN_canif2_cmdreq_busy) -> C_CAN_canif2_cmdreq_Update<'a>

Set value of BUSY field.

Trait Implementations

impl Copy for C_CAN_canif2_cmdreq

Derived Implementations

impl Clone for C_CAN_canif2_cmdreq

fn clone(&self) -> C_CAN_canif2_cmdreq

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