Struct rp_pac::otp_data_raw::regs::Crit0
source · #[repr(transparent)]pub struct Crit0(pub u32);
Expand description
Page 0 critical boot flags (RBIT-8)
Tuple Fields§
§0: u32
Implementations§
source§impl Crit0
impl Crit0
sourcepub const fn arm_disable(&self) -> bool
pub const fn arm_disable(&self) -> bool
Permanently disable ARM processors (Cortex-M33)
sourcepub fn set_arm_disable(&mut self, val: bool)
pub fn set_arm_disable(&mut self, val: bool)
Permanently disable ARM processors (Cortex-M33)
sourcepub const fn riscv_disable(&self) -> bool
pub const fn riscv_disable(&self) -> bool
Permanently disable RISC-V processors (Hazard3)
sourcepub fn set_riscv_disable(&mut self, val: bool)
pub fn set_riscv_disable(&mut self, val: bool)
Permanently disable RISC-V processors (Hazard3)
Trait Implementations§
impl Copy for Crit0
impl Eq for Crit0
impl StructuralPartialEq for Crit0
Auto Trait Implementations§
impl Freeze for Crit0
impl RefUnwindSafe for Crit0
impl Send for Crit0
impl Sync for Crit0
impl Unpin for Crit0
impl UnwindSafe for Crit0
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
)