#[repr(transparent)]pub struct Int(pub u32);
Expand description
Interrupt status after masking & forcing for proc1
Tuple Fields§
§0: u32
Implementations§
source§impl Int
impl Int
pub const fn level_low(&self, n: usize) -> bool
pub fn set_level_low(&mut self, n: usize, val: bool)
pub const fn level_high(&self, n: usize) -> bool
pub fn set_level_high(&mut self, n: usize, val: bool)
pub const fn edge_low(&self, n: usize) -> bool
pub fn set_edge_low(&mut self, n: usize, val: bool)
pub const fn edge_high(&self, n: usize) -> bool
pub fn set_edge_high(&mut self, n: usize, val: bool)
Trait Implementations§
impl Copy for Int
impl Eq for Int
impl StructuralPartialEq for Int
Auto Trait Implementations§
impl Freeze for Int
impl RefUnwindSafe for Int
impl Send for Int
impl Sync for Int
impl Unpin for Int
impl UnwindSafe for Int
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)