Type Definition lpc81x_pac::lpc812::mrt0::irq_flag::GFLAG0_W

source ·
pub type GFLAG0_W<'a, const O: u8> = BitWriter<'a, u32, IRQ_FLAG_SPEC, GFLAG0_A, O>;
Expand description

Field GFLAG0 writer - Monitors the interrupt flag of TIMER0.

Implementations§

No pending interrupt. Writing a zero is equivalent to no operation.

Pending interrupt. The interrupt is pending because TIMER0 has reached the end of the time interval. If the INTEN bit in the CONTROL0 register is also set to 1, the interrupt for timer channel 0 and the global interrupt are raised. Writing a 1 to this bit clears the interrupt request.