Struct zinc_hal_lpc11xx::ioregs::CT16B0_ir_Get [] [src]

pub struct CT16B0_ir_Get {
    // some fields omitted
}

IR: Interrupt Register (IR). The IR can be written to clear interrupts. The IR can be read to identify which of five possible interrupt sources are pending.

Methods

impl CT16B0_ir_Get

fn new(reg: &CT16B0_ir) -> CT16B0_ir_Get

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

fn raw(&self) -> u32

Get the raw value of the register.

fn mr0int(&self) -> bool

Get value of MR0INT field: Interrupt flag for match channel 0.

fn mr1int(&self) -> bool

Get value of MR1INT field: Interrupt flag for match channel 1.

fn mr2int(&self) -> bool

Get value of MR2INT field: Interrupt flag for match channel 2.

fn mr3int(&self) -> bool

Get value of MR3INT field: Interrupt flag for match channel 3.

fn cr0int(&self) -> bool

Get value of CR0INT field: Interrupt flag for capture channel 0 event.

fn cr1int(&self) -> bool

Get value of CR1INT field: Interrupt flag for capture channel 1 event.

Trait Implementations

impl Copy for CT16B0_ir_Get

Derived Implementations

impl Clone for CT16B0_ir_Get

fn clone(&self) -> CT16B0_ir_Get

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