Struct zinc_hal_lpc11xx::ioregs::CT32B0_ir_Get
[−]
[src]
pub struct CT32B0_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 CT32B0_ir_Get
fn new(reg: &CT32B0_ir) -> CT32B0_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.