Struct zinc_hal_lpc11xx::ioregs::C_CAN_canif2_db1_Get [] [src]

pub struct C_CAN_canif2_db1_Get {
    // some fields omitted
}

CANIF2_DB1: Message interface 1 data B1

Methods

impl C_CAN_canif2_db1_Get

fn new(reg: &C_CAN_canif2_db1) -> C_CAN_canif2_db1_Get

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

fn raw(&self) -> u32

Get the raw value of the register.

fn data4(&self) -> u32

Get value of DATA4 field: Data byte 4

fn data5(&self) -> u32

Get value of DATA5 field: Data byte 5

Trait Implementations

impl Copy for C_CAN_canif2_db1_Get

Derived Implementations

impl Clone for C_CAN_canif2_db1_Get

fn clone(&self) -> C_CAN_canif2_db1_Get

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