#[repr(transparent)]pub struct IrqFlag(pub u32);Expand description
Global interrupt flag register
Tuple Fields§
§0: u32Implementations§
Source§impl IrqFlag
impl IrqFlag
Sourcepub const fn set_gflag0(&mut self, val: bool)
pub const fn set_gflag0(&mut self, val: bool)
Monitors the interrupt flag of TIMER0.
Sourcepub const fn gflag1(&self) -> bool
pub const fn gflag1(&self) -> bool
Monitors the interrupt flag of TIMER1. See description of channel 0.
Sourcepub const fn set_gflag1(&mut self, val: bool)
pub const fn set_gflag1(&mut self, val: bool)
Monitors the interrupt flag of TIMER1. See description of channel 0.
Sourcepub const fn gflag2(&self) -> bool
pub const fn gflag2(&self) -> bool
Monitors the interrupt flag of TIMER2. See description of channel 0.
Sourcepub const fn set_gflag2(&mut self, val: bool)
pub const fn set_gflag2(&mut self, val: bool)
Monitors the interrupt flag of TIMER2. See description of channel 0.
Sourcepub const fn gflag3(&self) -> bool
pub const fn gflag3(&self) -> bool
Monitors the interrupt flag of TIMER3. See description of channel 0.
Sourcepub const fn set_gflag3(&mut self, val: bool)
pub const fn set_gflag3(&mut self, val: bool)
Monitors the interrupt flag of TIMER3. See description of channel 0.
Trait Implementations§
impl Copy for IrqFlag
impl Eq for IrqFlag
impl StructuralPartialEq for IrqFlag
Auto Trait Implementations§
impl Freeze for IrqFlag
impl RefUnwindSafe for IrqFlag
impl Send for IrqFlag
impl Sync for IrqFlag
impl Unpin for IrqFlag
impl UnwindSafe for IrqFlag
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more