#[repr(transparent)]pub struct TampcStatus(pub u32);
Expand description
The tamper controller status.
Tuple Fields§
§0: u32
Implementations§
Source§impl TampcStatus
impl TampcStatus
Sourcepub const fn activeshield(&self) -> bool
pub const fn activeshield(&self) -> bool
Active shield detector detected an error.
Sourcepub fn set_activeshield(&mut self, val: bool)
pub fn set_activeshield(&mut self, val: bool)
Active shield detector detected an error.
Sourcepub fn set_protect(&mut self, val: bool)
pub fn set_protect(&mut self, val: bool)
Error detected for the protected signals.
Sourcepub const fn cracentamp(&self) -> bool
pub const fn cracentamp(&self) -> bool
CRACEN detected an error.
Sourcepub fn set_cracentamp(&mut self, val: bool)
pub fn set_cracentamp(&mut self, val: bool)
CRACEN detected an error.
Sourcepub const fn glitchslowdomain(&self, n: usize) -> bool
pub const fn glitchslowdomain(&self, n: usize) -> bool
Slow domain glitch detector 0 detected an error.
Sourcepub fn set_glitchslowdomain(&mut self, n: usize, val: bool)
pub fn set_glitchslowdomain(&mut self, n: usize, val: bool)
Slow domain glitch detector 0 detected an error.
Sourcepub const fn glitchfastdomain(&self, n: usize) -> bool
pub const fn glitchfastdomain(&self, n: usize) -> bool
Fast domain glitch detector 0 detected an error.
Sourcepub fn set_glitchfastdomain(&mut self, n: usize, val: bool)
pub fn set_glitchfastdomain(&mut self, n: usize, val: bool)
Fast domain glitch detector 0 detected an error.
Trait Implementations§
Source§impl Clone for TampcStatus
impl Clone for TampcStatus
Source§fn clone(&self) -> TampcStatus
fn clone(&self) -> TampcStatus
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for TampcStatus
impl Default for TampcStatus
Source§fn default() -> TampcStatus
fn default() -> TampcStatus
Returns the “default value” for a type. Read more
Source§impl PartialEq for TampcStatus
impl PartialEq for TampcStatus
impl Copy for TampcStatus
impl Eq for TampcStatus
impl StructuralPartialEq for TampcStatus
Auto Trait Implementations§
impl Freeze for TampcStatus
impl RefUnwindSafe for TampcStatus
impl Send for TampcStatus
impl Sync for TampcStatus
impl Unpin for TampcStatus
impl UnwindSafe for TampcStatus
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
)