nxp-pac

Crates

git

Versions

mimxrt1011

Flavors

Lpsr

Struct Lpsr 

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

SNVS_LP Status Register

Tuple Fields§

§0: u32

Implementations§

Source§

impl Lpsr

Source

pub const fn lpta(&self) -> Lpta

LP Time Alarm

Source

pub const fn set_lpta(&mut self, val: Lpta)

LP Time Alarm

Source

pub const fn srtcr(&self) -> Srtcr

Secure Real Time Counter Rollover

Source

pub const fn set_srtcr(&mut self, val: Srtcr)

Secure Real Time Counter Rollover

Source

pub const fn mcr(&self) -> Mcr

Monotonic Counter Rollover

Source

pub const fn set_mcr(&mut self, val: Mcr)

Monotonic Counter Rollover

Source

pub const fn lvd(&self) -> Lvd

Digital Low Voltage Event Detected

Source

pub const fn set_lvd(&mut self, val: Lvd)

Digital Low Voltage Event Detected

Source

pub const fn ctd(&self) -> Ctd

Clock Tampering Detected

Source

pub const fn set_ctd(&mut self, val: Ctd)

Clock Tampering Detected

Source

pub const fn ttd(&self) -> Ttd

Temperature Tamper Detected

Source

pub const fn set_ttd(&mut self, val: Ttd)

Temperature Tamper Detected

Source

pub const fn vtd(&self) -> Vtd

Voltage Tampering Detected

Source

pub const fn set_vtd(&mut self, val: Vtd)

Voltage Tampering Detected

Source

pub const fn wmt1d(&self) -> Wmt1d

Wire-Mesh Tampering 1 Detected

Source

pub const fn set_wmt1d(&mut self, val: Wmt1d)

Wire-Mesh Tampering 1 Detected

Source

pub const fn wmt2d(&self) -> Wmt2d

Wire-Mesh Tampering 2 Detected

Source

pub const fn set_wmt2d(&mut self, val: Wmt2d)

Wire-Mesh Tampering 2 Detected

Source

pub const fn et1d(&self) -> Et1d

External Tampering 1 Detected

Source

pub const fn set_et1d(&mut self, val: Et1d)

External Tampering 1 Detected

Source

pub const fn et2d(&self) -> Et2d

External Tampering 2 Detected

Source

pub const fn set_et2d(&mut self, val: Et2d)

External Tampering 2 Detected

Source

pub const fn esvd(&self) -> Esvd

External Security Violation Detected Indicates that a security violation is detected on one of the HP security violation ports

Source

pub const fn set_esvd(&mut self, val: Esvd)

External Security Violation Detected Indicates that a security violation is detected on one of the HP security violation ports

Source

pub const fn eo(&self) -> Eo

Emergency Off This bit is set when a power off is requested.

Source

pub const fn set_eo(&mut self, val: Eo)

Emergency Off This bit is set when a power off is requested.

Source

pub const fn spof(&self) -> Spof

Set Power Off The SPO bit is set when the power button is pressed longer than the configured debounce time

Source

pub const fn set_spof(&mut self, val: Spof)

Set Power Off The SPO bit is set when the power button is pressed longer than the configured debounce time

Source

pub const fn spon(&self) -> Spon

Set Power On The SPON bit is set when the set_pwr_on_irq interrupt is triggered, which happens when the power button is pressed longer than the configured debounce time

Source

pub const fn set_spon(&mut self, val: Spon)

Set Power On The SPON bit is set when the set_pwr_on_irq interrupt is triggered, which happens when the power button is pressed longer than the configured debounce time

Source

pub const fn lpns(&self) -> Lpns

LP Section is Non-Secured Indicates that LP section was provisioned/programmed in the non-secure state

Source

pub const fn set_lpns(&mut self, val: Lpns)

LP Section is Non-Secured Indicates that LP section was provisioned/programmed in the non-secure state

Source

pub const fn lps(&self) -> Lps

LP Section is Secured Indicates that the LP section is provisioned/programmed in the secure or trusted state

Source

pub const fn set_lps(&mut self, val: Lps)

LP Section is Secured Indicates that the LP section is provisioned/programmed in the secure or trusted state

Trait Implementations§

Source§

impl Clone for Lpsr

Source§

fn clone(&self) -> Lpsr

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 Lpsr

Source§

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

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

impl Default for Lpsr

Source§

fn default() -> Lpsr

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

impl PartialEq for Lpsr

Source§

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

Source§

impl Eq for Lpsr

Source§

impl StructuralPartialEq for Lpsr

Auto Trait Implementations§

§

impl Freeze for Lpsr

§

impl RefUnwindSafe for Lpsr

§

impl Send for Lpsr

§

impl Sync for Lpsr

§

impl Unpin for Lpsr

§

impl UnwindSafe for Lpsr

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.