Struct zinc_hal_lpc11xx::ioregs::C_CAN_canif1_db2_Get [] [src]

pub struct C_CAN_canif1_db2_Get {
    // some fields omitted
}

CANIF1_DB2: Message interface 1 data B2

Methods

impl C_CAN_canif1_db2_Get

fn new(reg: &C_CAN_canif1_db2) -> C_CAN_canif1_db2_Get

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

fn raw(&self) -> u32

Get the raw value of the register.

fn data6(&self) -> u32

Get value of DATA6 field: Data byte 6

fn data7(&self) -> u32

Get value of DATA7 field: Data byte 7

Trait Implementations

impl Copy for C_CAN_canif1_db2_Get

Derived Implementations

impl Clone for C_CAN_canif1_db2_Get

fn clone(&self) -> C_CAN_canif1_db2_Get

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