Struct zinc_hal_lpc11xx::ioregs::C_CAN_canif2_cmdmsk_r_Get [] [src]

pub struct C_CAN_canif2_cmdmsk_r_Get {
    // some fields omitted
}

CANIF2_CMDMSK_R: Message interface command mask - read direction

Methods

impl C_CAN_canif2_cmdmsk_r_Get

fn new(reg: &C_CAN_canif2_cmdmsk_r) -> C_CAN_canif2_cmdmsk_r_Get

Create a getter reflecting the current value of the given register.

fn raw(&self) -> u32

Get the raw value of the register.

fn data_b(&self) -> C_CAN_canif2_cmdmsk_r_data_b

Get value of DATA_B field: Access data bytes 4-7

fn data_a(&self) -> C_CAN_canif2_cmdmsk_r_data_a

Get value of DATA_A field: Access data bytes 0-3

fn newdat(&self) -> C_CAN_canif2_cmdmsk_r_newdat

Get value of NEWDAT field: Access new data bit

fn clrintpnd(&self) -> C_CAN_canif2_cmdmsk_r_clrintpnd

Get value of CLRINTPND field: Clear interrupt pending bit.

fn ctrl(&self) -> C_CAN_canif2_cmdmsk_r_ctrl

Get value of CTRL field: Access control bits

fn arb(&self) -> C_CAN_canif2_cmdmsk_r_arb

Get value of ARB field: Access arbitration bits

fn mask(&self) -> C_CAN_canif2_cmdmsk_r_mask

Get value of MASK field: Access mask bits

fn wr_rd(&self) -> bool

Get value of WR_RD field: Read transfer Transfer data from the message object addressed by the command request register to the selected message buffer registers CANIFn_CMDREQ.

Trait Implementations

impl Copy for C_CAN_canif2_cmdmsk_r_Get

Derived Implementations

impl Clone for C_CAN_canif2_cmdmsk_r_Get

fn clone(&self) -> C_CAN_canif2_cmdmsk_r_Get

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