#[repr(transparent)]pub struct IrqFlag(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl IrqFlag
impl IrqFlag
Sourcepub const fn gflag0(&self) -> bool
pub const fn gflag0(&self) -> bool
Channel 0 interrupt pending. Write one to clear; zero has no effect.
Sourcepub const fn set_gflag0(&mut self, val: bool)
pub const fn set_gflag0(&mut self, val: bool)
Channel 0 interrupt pending. Write one to clear; zero has no effect.
Sourcepub const fn gflag1(&self) -> bool
pub const fn gflag1(&self) -> bool
Channel 1 interrupt pending. Write one to clear; zero has no effect.
Sourcepub const fn set_gflag1(&mut self, val: bool)
pub const fn set_gflag1(&mut self, val: bool)
Channel 1 interrupt pending. Write one to clear; zero has no effect.
Sourcepub const fn gflag2(&self) -> bool
pub const fn gflag2(&self) -> bool
Channel 2 interrupt pending. Write one to clear; zero has no effect.
Sourcepub const fn set_gflag2(&mut self, val: bool)
pub const fn set_gflag2(&mut self, val: bool)
Channel 2 interrupt pending. Write one to clear; zero has no effect.
Sourcepub const fn gflag3(&self) -> bool
pub const fn gflag3(&self) -> bool
Channel 3 interrupt pending. Write one to clear; zero has no effect.
Sourcepub const fn set_gflag3(&mut self, val: bool)
pub const fn set_gflag3(&mut self, val: bool)
Channel 3 interrupt pending. Write one to clear; zero has no effect.
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