nxp-pac

Crates

git

Versions

mimxrt1011

Flavors

Hpsvsr

Struct Hpsvsr 

Source
#[repr(transparent)]
pub struct Hpsvsr(pub u32);
Expand description

SNVS_HP Security Violation Status Register

Tuple Fields§

§0: u32

Implementations§

Source§

impl Hpsvsr

Source

pub const fn sv0(&self) -> Sv0

Security Violation 0 security violation was detected.

Source

pub const fn set_sv0(&mut self, val: Sv0)

Security Violation 0 security violation was detected.

Source

pub const fn sv1(&self) -> Sv1

Security Violation 1 security violation was detected.

Source

pub const fn set_sv1(&mut self, val: Sv1)

Security Violation 1 security violation was detected.

Source

pub const fn sv2(&self) -> Sv2

Security Violation 2 security violation was detected.

Source

pub const fn set_sv2(&mut self, val: Sv2)

Security Violation 2 security violation was detected.

Source

pub const fn sv3(&self) -> Sv3

Security Violation 3 security violation was detected.

Source

pub const fn set_sv3(&mut self, val: Sv3)

Security Violation 3 security violation was detected.

Source

pub const fn sv4(&self) -> Sv4

Security Violation 4 security violation was detected.

Source

pub const fn set_sv4(&mut self, val: Sv4)

Security Violation 4 security violation was detected.

Source

pub const fn sv5(&self) -> Sv5

Security Violation 5 security violation was detected.

Source

pub const fn set_sv5(&mut self, val: Sv5)

Security Violation 5 security violation was detected.

Source

pub const fn sw_sv(&self) -> bool

Software Security Violation This bit is a read-only copy of the SW_SV bit in the HP Command Register

Source

pub const fn set_sw_sv(&mut self, val: bool)

Software Security Violation This bit is a read-only copy of the SW_SV bit in the HP Command Register

Source

pub const fn sw_fsv(&self) -> bool

Software Fatal Security Violation This bit is a read-only copy of the SW_FSV bit in the HP Command Register

Source

pub const fn set_sw_fsv(&mut self, val: bool)

Software Fatal Security Violation This bit is a read-only copy of the SW_FSV bit in the HP Command Register

Source

pub const fn sw_lpsv(&self) -> bool

LP Software Security Violation This bit is a read-only copy of the SW_LPSV bit in the HP Command Register

Source

pub const fn set_sw_lpsv(&mut self, val: bool)

LP Software Security Violation This bit is a read-only copy of the SW_LPSV bit in the HP Command Register

Source

pub const fn zmk_syndrome(&self) -> u16

Zeroizable Master Key Syndrome The ZMK syndrome indicates the single-bit error location and parity for the ZMK register

Source

pub const fn set_zmk_syndrome(&mut self, val: u16)

Zeroizable Master Key Syndrome The ZMK syndrome indicates the single-bit error location and parity for the ZMK register

Source

pub const fn zmk_ecc_fail(&self) -> ZmkEccFail

Zeroizable Master Key Error Correcting Code Check Failure When set, this bit triggers a bad key violation to the SSM and a security violation to the SNVS_LP section, which clears security sensitive data

Source

pub const fn set_zmk_ecc_fail(&mut self, val: ZmkEccFail)

Zeroizable Master Key Error Correcting Code Check Failure When set, this bit triggers a bad key violation to the SSM and a security violation to the SNVS_LP section, which clears security sensitive data

Source

pub const fn lp_sec_vio(&self) -> bool

LP Security Violation A security volation was detected in the SNVS low power section

Source

pub const fn set_lp_sec_vio(&mut self, val: bool)

LP Security Violation A security volation was detected in the SNVS low power section

Trait Implementations§

Source§

impl Clone for Hpsvsr

Source§

fn clone(&self) -> Hpsvsr

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Hpsvsr

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Hpsvsr

Source§

fn default() -> Hpsvsr

Returns the “default value” for a type. Read more
Source§

impl PartialEq for Hpsvsr

Source§

fn eq(&self, other: &Hpsvsr) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Hpsvsr

Source§

impl Eq for Hpsvsr

Source§

impl StructuralPartialEq for Hpsvsr

Auto Trait Implementations§

§

impl Freeze for Hpsvsr

§

impl RefUnwindSafe for Hpsvsr

§

impl Send for Hpsvsr

§

impl Sync for Hpsvsr

§

impl Unpin for Hpsvsr

§

impl UnwindSafe for Hpsvsr

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.