Struct zinc_hal_lpc11xx::ioregs::C_CAN_canint_Get [] [src]

pub struct C_CAN_canint_Get {
    // some fields omitted
}

CANINT: Interrupt register

Methods

impl C_CAN_canint_Get

fn new(reg: &C_CAN_canint) -> C_CAN_canint_Get

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

fn raw(&self) -> u32

Get the raw value of the register.

fn intid(&self) -> u32

Get value of INTID field: 0x0000 = No interrupt is pending. 0x0001 - 0x0020 = Number of message object which caused the interrupt. 0x0021 - 0x7FFF = Unused 0x8000 = Status interrupt 0x8001 - 0xFFFF = Unused

Trait Implementations

impl Copy for C_CAN_canint_Get

Derived Implementations

impl Clone for C_CAN_canint_Get

fn clone(&self) -> C_CAN_canint_Get

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