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§
source§impl<'a, const O: u8> GFLAG0_W<'a, O>
impl<'a, const O: u8> GFLAG0_W<'a, O>
sourcepub fn no_pending_interrupt(self) -> &'a mut W
pub fn no_pending_interrupt(self) -> &'a mut W
No pending interrupt. Writing a zero is equivalent to no operation.
sourcepub fn pending_interrupt(self) -> &'a mut W
pub fn pending_interrupt(self) -> &'a mut W
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.