Struct TampcStatus
#[repr(transparent)]pub struct TampcStatus(pub u32);
Expand description
The tamper controller status.
Tuple Fields§
§0: u32
Implementations§
§impl TampcStatus
impl TampcStatus
pub const fn activeshield(&self) -> bool
pub const fn activeshield(&self) -> bool
Active shield detector detected an error.
pub fn set_activeshield(&mut self, val: bool)
pub fn set_activeshield(&mut self, val: bool)
Active shield detector detected an error.
pub fn set_protect(&mut self, val: bool)
pub fn set_protect(&mut self, val: bool)
Error detected for the protected signals.
pub const fn cracentamp(&self) -> bool
pub const fn cracentamp(&self) -> bool
CRACEN detected an error.
pub fn set_cracentamp(&mut self, val: bool)
pub fn set_cracentamp(&mut self, val: bool)
CRACEN detected an error.
pub const fn glitchslowdomain(&self, n: usize) -> bool
pub const fn glitchslowdomain(&self, n: usize) -> bool
Slow domain glitch detector 0 detected an error.
pub 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.
pub const fn glitchfastdomain(&self, n: usize) -> bool
pub const fn glitchfastdomain(&self, n: usize) -> bool
Fast domain glitch detector 0 detected an error.
pub 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§
§impl Clone for TampcStatus
impl Clone for TampcStatus
§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 more§impl Default for TampcStatus
impl Default for TampcStatus
§fn default() -> TampcStatus
fn default() -> TampcStatus
Returns the “default value” for a type. Read more
§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
)