nxp-pac

Crates

git

Versions

mimxrt1064

Flavors

Lpsecr

Struct Lpsecr 

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

SNVS_LP Security Events Configuration Register

Tuple Fields§

§0: u32

Implementations§

Source§

impl Lpsecr

Source

pub const fn srtcr_en(&self) -> bool

SRTC Rollover Enable When set, an SRTC rollover event generates an LP security violation.

Source

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

SRTC Rollover Enable When set, an SRTC rollover event generates an LP security violation.

Source

pub const fn mcr_en(&self) -> bool

MC Rollover Enable When set, an MC Rollover event generates an LP security violation.

Source

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

MC Rollover Enable When set, an MC Rollover event generates an LP security violation.

Source

pub const fn pfd_observ(&self) -> bool

System Power Fail Detector (PFD) Observability Flop The asynchronous reset input of this flop is connected directly to the inverted output of the PFD analog circuitry (external to the SNVS block)

Source

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

System Power Fail Detector (PFD) Observability Flop The asynchronous reset input of this flop is connected directly to the inverted output of the PFD analog circuitry (external to the SNVS block)

Source

pub const fn por_observ(&self) -> bool

Power On Reset (POR) Observability Flop The asynchronous reset input of this flop is connected directly to the output of the POR analog circuitry (external to the SNVS

Source

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

Power On Reset (POR) Observability Flop The asynchronous reset input of this flop is connected directly to the output of the POR analog circuitry (external to the SNVS

Source

pub const fn ltdc(&self) -> u8

Low Temp Detect Configuration These configuration bits are wired as an output of the module.

Source

pub const fn set_ltdc(&mut self, val: u8)

Low Temp Detect Configuration These configuration bits are wired as an output of the module.

Source

pub const fn htdc(&self) -> u8

High Temperature Detect Configuration These configuration bits are wired as an output of the module

Source

pub const fn set_htdc(&mut self, val: u8)

High Temperature Detect Configuration These configuration bits are wired as an output of the module

Source

pub const fn vrc(&self) -> u8

Voltage Reference Configuration These configuration bits are wired as an output of the module.

Source

pub const fn set_vrc(&mut self, val: u8)

Voltage Reference Configuration These configuration bits are wired as an output of the module.

Source

pub const fn oscb(&self) -> bool

Oscillator Bypass When OSCB=1 the osc_bypass signal is asserted

Source

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

Oscillator Bypass When OSCB=1 the osc_bypass signal is asserted

Trait Implementations§

Source§

impl Clone for Lpsecr

Source§

fn clone(&self) -> Lpsecr

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 Lpsecr

Source§

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

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

impl Default for Lpsecr

Source§

fn default() -> Lpsecr

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

impl PartialEq for Lpsecr

Source§

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

Source§

impl Eq for Lpsecr

Source§

impl StructuralPartialEq for Lpsecr

Auto Trait Implementations§

§

impl Freeze for Lpsecr

§

impl RefUnwindSafe for Lpsecr

§

impl Send for Lpsecr

§

impl Sync for Lpsecr

§

impl Unpin for Lpsecr

§

impl UnwindSafe for Lpsecr

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.