nxp-pac

Crates

git

Versions

mimxrt1011

Flavors

Hpsr

Struct Hpsr 

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

SNVS_HP Status Register

Tuple Fields§

§0: u32

Implementations§

Source§

impl Hpsr

Source

pub const fn hpta(&self) -> Hpta

HP Time Alarm Indicates that the HP Time Alarm has occurred since this bit was last cleared.

Source

pub const fn set_hpta(&mut self, val: Hpta)

HP Time Alarm Indicates that the HP Time Alarm has occurred since this bit was last cleared.

Source

pub const fn pi(&self) -> Pi

Periodic Interrupt Indicates that periodic interrupt has occurred since this bit was last cleared.

Source

pub const fn set_pi(&mut self, val: Pi)

Periodic Interrupt Indicates that periodic interrupt has occurred since this bit was last cleared.

Source

pub const fn lpdis(&self) -> bool

Low Power Disable If 1, the low power section has been disabled by means of an input signal to SNVS

Source

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

Low Power Disable If 1, the low power section has been disabled by means of an input signal to SNVS

Source

pub const fn btn(&self) -> bool

Button Value of the BTN input

Source

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

Button Value of the BTN input

Source

pub const fn bi(&self) -> bool

Button Interrupt Signal ipi_snvs_btn_int_b was asserted.

Source

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

Button Interrupt Signal ipi_snvs_btn_int_b was asserted.

Source

pub const fn ssm_state(&self) -> SsmState

System Security Monitor State This field contains the encoded state of the SSM’s state machine

Source

pub const fn set_ssm_state(&mut self, val: SsmState)

System Security Monitor State This field contains the encoded state of the SSM’s state machine

Source

pub const fn sys_security_cfg(&self) -> SysSecurityCfg

System Security Configuration This field reflects the three security configuration inputs to SNVS

Source

pub const fn set_sys_security_cfg(&mut self, val: SysSecurityCfg)

System Security Configuration This field reflects the three security configuration inputs to SNVS

Source

pub const fn sys_secure_boot(&self) -> bool

System Secure Boot If SYS_SECURE_BOOT is 1, the chip boots from internal ROM

Source

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

System Secure Boot If SYS_SECURE_BOOT is 1, the chip boots from internal ROM

Source

pub const fn otpmk_syndrome(&self) -> u16

One Time Programmable Master Key Syndrome In the case of a single-bit error, the eight lower bits of this value indicate the bit number of error location

Source

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

One Time Programmable Master Key Syndrome In the case of a single-bit error, the eight lower bits of this value indicate the bit number of error location

Source

pub const fn otpmk_zero(&self) -> OtpmkZero

One Time Programmable Master Key is Equal to Zero

Source

pub const fn set_otpmk_zero(&mut self, val: OtpmkZero)

One Time Programmable Master Key is Equal to Zero

Source

pub const fn zmk_zero(&self) -> ZmkZero

Zeroizable Master Key is Equal to Zero

Source

pub const fn set_zmk_zero(&mut self, val: ZmkZero)

Zeroizable Master Key is Equal to Zero

Trait Implementations§

Source§

impl Clone for Hpsr

Source§

fn clone(&self) -> Hpsr

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 Hpsr

Source§

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

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

impl Default for Hpsr

Source§

fn default() -> Hpsr

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

impl PartialEq for Hpsr

Source§

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

Source§

impl Eq for Hpsr

Source§

impl StructuralPartialEq for Hpsr

Auto Trait Implementations§

§

impl Freeze for Hpsr

§

impl RefUnwindSafe for Hpsr

§

impl Send for Hpsr

§

impl Sync for Hpsr

§

impl Unpin for Hpsr

§

impl UnwindSafe for Hpsr

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.