Struct zinc_hal_lpc11xx::ioregs::C_CAN_canif1_cmdmsk_w_Get [] [src]

pub struct C_CAN_canif1_cmdmsk_w_Get {
    // some fields omitted
}

CANIF1_CMDMSK_W: Message interface command mask - write direction

Methods

impl C_CAN_canif1_cmdmsk_w_Get

fn new(reg: &C_CAN_canif1_cmdmsk_w) -> C_CAN_canif1_cmdmsk_w_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_canif1_cmdmsk_w_data_b

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

fn data_a(&self) -> C_CAN_canif1_cmdmsk_w_data_a

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

fn txrqst(&self) -> C_CAN_canif1_cmdmsk_w_txrqst

Get value of TXRQST field: Access transmission request bit

fn clrintpnd(&self) -> bool

Get value of CLRINTPND field: This bit is ignored in the write direction.

fn ctrl(&self) -> C_CAN_canif1_cmdmsk_w_ctrl

Get value of CTRL field: Access control bits

fn arb(&self) -> C_CAN_canif1_cmdmsk_w_arb

Get value of ARB field: Access arbitration bits

fn mask(&self) -> C_CAN_canif1_cmdmsk_w_mask

Get value of MASK field: Access mask bits

fn wr_rd(&self) -> bool

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

Trait Implementations

impl Copy for C_CAN_canif1_cmdmsk_w_Get

Derived Implementations

impl Clone for C_CAN_canif1_cmdmsk_w_Get

fn clone(&self) -> C_CAN_canif1_cmdmsk_w_Get

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