pub struct OtpCriticalReg(/* private fields */);Expand description
The value held within the critical register as reported by otp_critical_register
Implementations§
Source§impl OtpCriticalReg
impl OtpCriticalReg
Sourcepub fn secure_boot_enabled(&self) -> bool
pub fn secure_boot_enabled(&self) -> bool
Check if secure boot is enabled
Sourcepub fn secure_debug_disabled(&self) -> bool
pub fn secure_debug_disabled(&self) -> bool
Check if secure debug is disabled
Sourcepub fn debug_disabled(&self) -> bool
pub fn debug_disabled(&self) -> bool
Check if debug is disabled
Sourcepub fn default_arch_sel(&self) -> bool
pub fn default_arch_sel(&self) -> bool
Check the value of DEFAULT_ARCHSEL
Sourcepub fn glitch_detector_enabled(&self) -> bool
pub fn glitch_detector_enabled(&self) -> bool
Check if the glitch detector is enabled
Sourcepub fn glitch_detector_sens(&self) -> u8
pub fn glitch_detector_sens(&self) -> u8
Value of `GLITCH_DETECTOR_SENS
Sourcepub fn arm_disabled(&self) -> bool
pub fn arm_disabled(&self) -> bool
Check if ARM is disabled
Sourcepub fn risc_disabled(&self) -> bool
pub fn risc_disabled(&self) -> bool
Check if Risc-V is disabled
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OtpCriticalReg
impl RefUnwindSafe for OtpCriticalReg
impl Send for OtpCriticalReg
impl Sync for OtpCriticalReg
impl Unpin for OtpCriticalReg
impl UnwindSafe for OtpCriticalReg
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<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more