nxp-pac

Crates

git

Versions

mcxn947_cm33_core0

Flavors

ElsAsCfg1

Struct ElsAsCfg1 

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

ELS AS Configuration1

Tuple Fields§

§0: u32

Implementations§

Source§

impl ElsAsCfg1

Source

pub const fn cfg_sec_dis_strict_mode(&self) -> bool

When CFG_SEC_ENA_SEC_CHK indicates state 0 or when DISABLE_STRICT_MODE bits in MISC_CTRL_REG and MISC_CTRL_DP_REG on the AHB secure controller are equal to 01, this bit indicates state 1

Source

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

When CFG_SEC_ENA_SEC_CHK indicates state 0 or when DISABLE_STRICT_MODE bits in MISC_CTRL_REG and MISC_CTRL_DP_REG on the AHB secure controller are equal to 01, this bit indicates state 1

Source

pub const fn cfg_sec_dis_viol_abort(&self) -> bool

When the DISABLE_VIOLATION_ABORT bits in MISC_CTRL_REG and MISC_CTRL_DP_REG on the AHB secure controller are not equal to 10, this bit indicates state 1

Source

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

When the DISABLE_VIOLATION_ABORT bits in MISC_CTRL_REG and MISC_CTRL_DP_REG on the AHB secure controller are not equal to 10, this bit indicates state 1

Source

pub const fn cfg_sec_ena_ns_priv_chk(&self) -> bool

When the ENABLE_NS_PRIV_CHECK bits in MISC_CTRL_REG and MISC_CTRL_DP_REG on the AHB secure controller are not equal to 10, this bit indicates state 1

Source

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

When the ENABLE_NS_PRIV_CHECK bits in MISC_CTRL_REG and MISC_CTRL_DP_REG on the AHB secure controller are not equal to 10, this bit indicates state 1

Source

pub const fn cfg_sec_ena_s_priv_chk(&self) -> bool

When the ENABLE_S_PRIV_CHECK bits in MISC_CTRL_REG and MISC_CTRL_DP_REG on the AHB secure controller are not equal to 10, this bit indicates state 1

Source

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

When the ENABLE_S_PRIV_CHECK bits in MISC_CTRL_REG and MISC_CTRL_DP_REG on the AHB secure controller are not equal to 10, this bit indicates state 1

Source

pub const fn cfg_sec_ena_sec_chk(&self) -> bool

When the ENABLE_SECURE_CHECKING bits in MISC_CTRL_REG and MISC_CTRL_DP_REG on the AHB secure controller are not equal to 10, this bit indicates state 1

Source

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

When the ENABLE_SECURE_CHECKING bits in MISC_CTRL_REG and MISC_CTRL_DP_REG on the AHB secure controller are not equal to 10, this bit indicates state 1

Source

pub const fn cfg_sec_idau_allns(&self) -> bool

When the IDAU_ALL_NS bits in MISC_CTRL_REG and MISC_CTRL_DP_REG on the AHB secure controller are equal to 01, this bit indicates state 1

Source

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

When the IDAU_ALL_NS bits in MISC_CTRL_REG and MISC_CTRL_DP_REG on the AHB secure controller are equal to 01, this bit indicates state 1

Source

pub const fn cfg_sec_lock_ns_mpu(&self) -> bool

When the LOCK_NS_MPU bits in CPU0_LOCK_REG on the AHB secure controller are not equal to 10, this bit indicates state 1

Source

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

When the LOCK_NS_MPU bits in CPU0_LOCK_REG on the AHB secure controller are not equal to 10, this bit indicates state 1

Source

pub const fn cfg_sec_lock_ns_vtor(&self) -> bool

When the LOCK_NS_VTOR bits in CPU0_LOCK_REG on the AHB secure controller are not equal to 10, this bit indicates state 1

Source

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

When the LOCK_NS_VTOR bits in CPU0_LOCK_REG on the AHB secure controller are not equal to 10, this bit indicates state 1

Source

pub const fn cfg_sec_lock_s_mpu(&self) -> bool

When the LOCK_S_MPU bits in CPU0_LOCK_REG on the AHB secure controller are not equal to 10, this bit indicates state 1

Source

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

When the LOCK_S_MPU bits in CPU0_LOCK_REG on the AHB secure controller are not equal to 10, this bit indicates state 1

Source

pub const fn cfg_sec_lock_s_vtaircr(&self) -> bool

When the LOCK_S_VTAIRCR bits in CPU0_LOCK_REG on the AHB secure controller are not equal to 10, this bit indicates state 1

Source

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

When the LOCK_S_VTAIRCR bits in CPU0_LOCK_REG on the AHB secure controller are not equal to 10, this bit indicates state 1

Source

pub const fn cfg_sec_lock_sau(&self) -> bool

When the LOCK_SAU bits in CPU0_LOCK_REG on the AHB secure controller are not equal to 10, this bit indicates state 1

Source

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

When the LOCK_SAU bits in CPU0_LOCK_REG on the AHB secure controller are not equal to 10, this bit indicates state 1

Source

pub const fn metal_version(&self) -> u8

metal version

Source

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

metal version

Source

pub const fn rom_patch_version(&self) -> u8

ROM patch version

Source

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

ROM patch version

Source

pub const fn cfg_hvd_core_reset_enabled(&self) -> bool

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

Source

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

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

Source

pub const fn cfg_hvd_core_irq_enabled(&self) -> bool

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

Source

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

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

Source

pub const fn cfg_hvd_vsys_reset_enabled(&self) -> bool

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

Source

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

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

Source

pub const fn cfg_hvd_vddio_reset_enabled(&self) -> bool

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

Source

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

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

Source

pub const fn cfg_hvd_vsys_irq_enabled(&self) -> bool

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

Source

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

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

Source

pub const fn cfg_hvd_vddio_irq_enabled(&self) -> bool

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

Source

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

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

Trait Implementations§

Source§

impl Clone for ElsAsCfg1

Source§

fn clone(&self) -> ElsAsCfg1

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 ElsAsCfg1

Source§

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

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

impl Default for ElsAsCfg1

Source§

fn default() -> ElsAsCfg1

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

impl PartialEq for ElsAsCfg1

Source§

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

Source§

impl Eq for ElsAsCfg1

Source§

impl StructuralPartialEq for ElsAsCfg1

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.