Struct zinc_hal_lpc11xx::ioregs::C_CAN_canif2_cmdreq_Get [] [src]

pub struct C_CAN_canif2_cmdreq_Get {
    // some fields omitted
}

CANIF2_CMDREQ: Message interface command request

Methods

impl C_CAN_canif2_cmdreq_Get

fn new(reg: &C_CAN_canif2_cmdreq) -> C_CAN_canif2_cmdreq_Get

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

fn raw(&self) -> u32

Get the raw value of the register.

fn mn(&self) -> u32

Get value of MN field: Message number 0x01 - 0x20 = Valid message numbers. The message object in the message RAM is selected for data transfer. 0x00 = Not a valid message number. This value is interpreted as 0x20.[1] 0x21 - 0x3F = Not a valid message number. This value is interpreted as 0x01 - 0x1F.[1]

fn busy(&self) -> C_CAN_canif2_cmdreq_busy

Get value of BUSY field: BUSY flag

Trait Implementations

impl Copy for C_CAN_canif2_cmdreq_Get

Derived Implementations

impl Clone for C_CAN_canif2_cmdreq_Get

fn clone(&self) -> C_CAN_canif2_cmdreq_Get

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