nxp-pac

Crates

git

Versions

mimxrt1062

Flavors

Hplr

Struct Hplr 

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

SNVS_HP Lock Register

Tuple Fields§

§0: u32

Implementations§

Source§

impl Hplr

Source

pub const fn zmk_wsl(&self) -> ZmkWsl

Zeroizable Master Key Write Soft Lock When set, prevents any writes (software and hardware) to the ZMK registers and the ZMK_HWP, ZMK_VAL, and ZMK_ECC_EN fields of the LPMKCR

Source

pub const fn set_zmk_wsl(&mut self, val: ZmkWsl)

Zeroizable Master Key Write Soft Lock When set, prevents any writes (software and hardware) to the ZMK registers and the ZMK_HWP, ZMK_VAL, and ZMK_ECC_EN fields of the LPMKCR

Source

pub const fn zmk_rsl(&self) -> ZmkRsl

Zeroizable Master Key Read Soft Lock When set, prevents any software reads to the ZMK Registers and ZMK_ECC_VALUE field of the LPMKCR

Source

pub const fn set_zmk_rsl(&mut self, val: ZmkRsl)

Zeroizable Master Key Read Soft Lock When set, prevents any software reads to the ZMK Registers and ZMK_ECC_VALUE field of the LPMKCR

Source

pub const fn srtc_sl(&self) -> SrtcSl

Secure Real Time Counter Soft Lock When set, prevents any writes to the SRTC Registers, SRTC_ENV, and SRTC_INV_EN bits

Source

pub const fn set_srtc_sl(&mut self, val: SrtcSl)

Secure Real Time Counter Soft Lock When set, prevents any writes to the SRTC Registers, SRTC_ENV, and SRTC_INV_EN bits

Source

pub const fn lpcalb_sl(&self) -> LpcalbSl

LP Calibration Soft Lock When set, prevents any writes to the LP Calibration Value (LPCALB_VAL) and LP Calibration Enable (LPCALB_EN)

Source

pub const fn set_lpcalb_sl(&mut self, val: LpcalbSl)

LP Calibration Soft Lock When set, prevents any writes to the LP Calibration Value (LPCALB_VAL) and LP Calibration Enable (LPCALB_EN)

Source

pub const fn mc_sl(&self) -> McSl

Monotonic Counter Soft Lock When set, prevents any writes (increments) to the MC Registers and MC_ENV bit

Source

pub const fn set_mc_sl(&mut self, val: McSl)

Monotonic Counter Soft Lock When set, prevents any writes (increments) to the MC Registers and MC_ENV bit

Source

pub const fn gpr_sl(&self) -> GprSl

General Purpose Register Soft Lock When set, prevents any writes to the GPR

Source

pub const fn set_gpr_sl(&mut self, val: GprSl)

General Purpose Register Soft Lock When set, prevents any writes to the GPR

Source

pub const fn lpsvcr_sl(&self) -> LpsvcrSl

LP Security Violation Control Register Soft Lock When set, prevents any writes to the LPSVCR

Source

pub const fn set_lpsvcr_sl(&mut self, val: LpsvcrSl)

LP Security Violation Control Register Soft Lock When set, prevents any writes to the LPSVCR

Source

pub const fn lpsecr_sl(&self) -> LpsecrSl

LP Security Events Configuration Register Soft Lock When set, prevents any writes to the LPSECR

Source

pub const fn set_lpsecr_sl(&mut self, val: LpsecrSl)

LP Security Events Configuration Register Soft Lock When set, prevents any writes to the LPSECR

Source

pub const fn mks_sl(&self) -> MksSl

Master Key Select Soft Lock When set, prevents any writes to the MASTER_KEY_SEL field of the LPMKCR

Source

pub const fn set_mks_sl(&mut self, val: MksSl)

Master Key Select Soft Lock When set, prevents any writes to the MASTER_KEY_SEL field of the LPMKCR

Source

pub const fn hpsvcr_l(&self) -> HpsvcrL

HP Security Violation Control Register Lock When set, prevents any writes to the HPSVCR

Source

pub const fn set_hpsvcr_l(&mut self, val: HpsvcrL)

HP Security Violation Control Register Lock When set, prevents any writes to the HPSVCR

Source

pub const fn hpsicr_l(&self) -> HpsicrL

HP Security Interrupt Control Register Lock When set, prevents any writes to the HPSICR

Source

pub const fn set_hpsicr_l(&mut self, val: HpsicrL)

HP Security Interrupt Control Register Lock When set, prevents any writes to the HPSICR

Source

pub const fn hac_l(&self) -> HacL

High Assurance Counter Lock When set, prevents any writes to HPHACIVR, HPHACR, and HAC_EN bit of HPCOMR

Source

pub const fn set_hac_l(&mut self, val: HacL)

High Assurance Counter Lock When set, prevents any writes to HPHACIVR, HPHACR, and HAC_EN bit of HPCOMR

Trait Implementations§

Source§

impl Clone for Hplr

Source§

fn clone(&self) -> Hplr

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 Hplr

Source§

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

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

impl Default for Hplr

Source§

fn default() -> Hplr

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

impl PartialEq for Hplr

Source§

fn eq(&self, other: &Hplr) -> 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 Hplr

Source§

impl Eq for Hplr

Source§

impl StructuralPartialEq for Hplr

Auto Trait Implementations§

§

impl Freeze for Hplr

§

impl RefUnwindSafe for Hplr

§

impl Send for Hplr

§

impl Sync for Hplr

§

impl Unpin for Hplr

§

impl UnwindSafe for Hplr

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.