Struct zinc_hal_lpc11xx::ioregs::C_CAN_canif2_da2_Get
[−]
[src]
pub struct C_CAN_canif2_da2_Get {
// some fields omitted
}CANIF2_DA2: Message interface 1 data A2
Methods
impl C_CAN_canif2_da2_Get
fn new(reg: &C_CAN_canif2_da2) -> C_CAN_canif2_da2_Get
Create a getter reflecting the current value of the given register.
fn raw(&self) -> u32
Get the raw value of the register.
fn data2(&self) -> u32
Get value of DATA2 field: Data byte 2
fn data3(&self) -> u32
Get value of DATA3 field: Data byte 3