nxp-pac

Crates

git

Versions

mcxn947_cm33_core0

Flavors

ElsAsCfg0

Struct ElsAsCfg0 

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

ELS AS Configuration

Tuple Fields§

§0: u32

Implementations§

Source§

impl ElsAsCfg0

Source

pub const fn cfg_lc_state(&self) -> u8

LC state configuration bit

Source

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

LC state configuration bit

Source

pub const fn cfg_lvd_core_reset_enabled(&self) -> bool

When SPC CORE LVD analog detector are turned on, and CORE LVD reset are enabled, this bit indicates state 1.

Source

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

When SPC CORE LVD analog detector are turned on, and CORE LVD reset are enabled, this bit indicates state 1.

Source

pub const fn cfg_lvd_core_irq_enabled(&self) -> bool

When SPC CORE LVD analog detector are turned on, and CORE LVD IRQ are enabled, this bit indicates state 1.

Source

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

When SPC CORE LVD analog detector are turned on, and CORE LVD IRQ are enabled, this bit indicates state 1.

Source

pub const fn cfg_wdt0_enabled(&self) -> bool

When WatchDog Timer 0 is activated, this bit indicates state 1

Source

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

When WatchDog Timer 0 is activated, this bit indicates state 1

Source

pub const fn cfg_cwdt0_enabled(&self) -> bool

When Code WatchDog Timer 0 is activated, this bit indicates state 1

Source

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

When Code WatchDog Timer 0 is activated, this bit indicates state 1

Source

pub const fn cfg_els_gdet_enabled(&self) -> bool

When either GDET is enabled, this bit indicates state 1.

Source

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

When either GDET is enabled, this bit indicates state 1.

Source

pub const fn cfg_ana_gdet_reset_enabled(&self) -> bool

When SPC analog glitch detect reset is enabled, this bit indicates state 1

Source

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

When SPC analog glitch detect reset is enabled, this bit indicates state 1

Source

pub const fn cfg_ana_gdet_irq_enabled(&self) -> bool

When SPC analog glitch detect IRQ is enabled, this bit indicates state 1

Source

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

When SPC analog glitch detect IRQ is enabled, this bit indicates state 1

Source

pub const fn cfg_tamper_det_enabled(&self) -> bool

When tamper detector is enabled in TDET, this bit indicates state 1.

Source

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

When tamper detector is enabled in TDET, this bit indicates state 1.

Source

pub const fn cfg_lvd_vsys_reset_enabled(&self) -> bool

When SPC VSYS LVD analog detector are turned on and VSYS LVD reset are enabled, this bit indicates state 1.

Source

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

When SPC VSYS LVD analog detector are turned on and VSYS LVD reset are enabled, this bit indicates state 1.

Source

pub const fn cfg_lvd_vddio_reset_enabled(&self) -> bool

When SPC VDDIO LVD analog detector are turned on and VDDIO LVD reset are enabled, this bit indicates state 1.

Source

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

When SPC VDDIO LVD analog detector are turned on and VDDIO LVD reset are enabled, this bit indicates state 1.

Source

pub const fn cfg_lvd_vsys_irq_enabled(&self) -> bool

When SPC VSYS LVD analog detector are turned on and VSYS LVD irq are enabled, this bit indicates state 1.

Source

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

When SPC VSYS LVD analog detector are turned on and VSYS LVD irq are enabled, this bit indicates state 1.

Source

pub const fn cfg_lvd_vddio_irq_enabled(&self) -> bool

When SPC VDDIO LVD analog detector are turned on and VDDIO LVD irq are enabled, this bit indicates state 1.

Source

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

When SPC VDDIO LVD analog detector are turned on and VDDIO LVD irq are enabled, this bit indicates state 1.

Source

pub const fn cfg_wdt1_enabled(&self) -> bool

When WatchDog Timer 1 is activated, this bit indicates state 1.

Source

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

When WatchDog Timer 1 is activated, this bit indicates state 1.

Source

pub const fn cfg_cwdt1_enabled(&self) -> bool

When Code WatchDog Timer 1 is activated, this bit indicates state 1.

Source

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

When Code WatchDog Timer 1 is activated, this bit indicates state 1.

Source

pub const fn cfg_temptamper_det_enabled(&self) -> bool

When temperature tamper detector is enabled in VBAT, this bit indicates state 1.

Source

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

When temperature tamper detector is enabled in VBAT, this bit indicates state 1.

Source

pub const fn cfg_voltamper_det_enabled(&self) -> bool

When voltage tamper detector is enabled in VBAT, this bit indicates state 1.

Source

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

When voltage tamper detector is enabled in VBAT, this bit indicates state 1.

Source

pub const fn cfg_lhttamper_det_enabled(&self) -> bool

When light tamper detector is enabled in VBAT, this bit indicates state 1.

Source

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

When light tamper detector is enabled in VBAT, this bit indicates state 1.

Source

pub const fn cfg_clktamper_det_enabled(&self) -> bool

When clk tamper detector is enabled in VBAT, this bit indicates state 1.

Source

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

When clk tamper detector is enabled in VBAT, this bit indicates state 1.

Source

pub const fn cfg_qk_disable_enroll(&self) -> bool

When QK PUF “qk_disable_enroll” input is driven 1, this bit indicates state 1

Source

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

When QK PUF “qk_disable_enroll” input is driven 1, this bit indicates state 1

Source

pub const fn cfg_qk_disable_wrap(&self) -> bool

When QK PUF “qk_disable_wrap” input is driven 1, this bit indicates state 1

Source

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

When QK PUF “qk_disable_wrap” input is driven 1, this bit indicates state 1

Trait Implementations§

Source§

impl Clone for ElsAsCfg0

Source§

fn clone(&self) -> ElsAsCfg0

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 ElsAsCfg0

Source§

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

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

impl Default for ElsAsCfg0

Source§

fn default() -> ElsAsCfg0

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

impl PartialEq for ElsAsCfg0

Source§

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

Source§

impl Eq for ElsAsCfg0

Source§

impl StructuralPartialEq for ElsAsCfg0

Auto Trait Implementations§

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.