#[repr(transparent)]pub struct Icnp(pub u32);Expand description
Interrupt Control Nonprivilege.
Tuple Fields§
§0: u32Implementations§
Source§impl Icnp
impl Icnp
Sourcepub const fn npe0(&self) -> bool
pub const fn npe0(&self) -> bool
Nonprivilege Enable. Raw bit values: false (0) = Npe0: Privilege access.; true (1) = Npe1: Nonprivilege access.
Sourcepub const fn set_npe0(&mut self, val: bool)
pub const fn set_npe0(&mut self, val: bool)
Nonprivilege Enable. Raw bit values: false (0) = Npe0: Privilege access.; true (1) = Npe1: Nonprivilege access.
Trait Implementations§
impl Copy for Icnp
impl Eq for Icnp
impl StructuralPartialEq for Icnp
Auto Trait Implementations§
impl Freeze for Icnp
impl RefUnwindSafe for Icnp
impl Send for Icnp
impl Sync for Icnp
impl Unpin for Icnp
impl UnwindSafe for Icnp
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