Struct TampcStatus
#[repr(transparent)]pub struct TampcStatus(pub u32);Expand description
The tamper controller status.
Tuple Fields§
§0: u32Implementations§
§impl TampcStatus
impl TampcStatus
pub const fn activeshield(&self) -> bool
pub const fn activeshield(&self) -> bool
Active shield detector detected an error.
pub const fn set_activeshield(&mut self, val: bool)
pub const fn set_activeshield(&mut self, val: bool)
Active shield detector detected an error.
pub const fn set_protect(&mut self, val: bool)
pub const 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 const fn set_cracentamp(&mut self, val: bool)
pub const 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 const fn set_glitchslowdomain(&mut self, n: usize, val: bool)
pub const 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 const fn set_glitchfastdomain(&mut self, n: usize, val: bool)
pub const 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 duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TampcStatus
§impl Debug for TampcStatus
impl Debug for TampcStatus
§impl Default for TampcStatus
impl Default for TampcStatus
§fn default() -> TampcStatus
fn default() -> TampcStatus
Returns the “default value” for a type. Read more
impl Eq for TampcStatus
§impl PartialEq for TampcStatus
impl PartialEq 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 UnsafeUnpin 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