nxp-pac

Crates

git

Versions

lpc55s69_cm33_core0

Flavors

DcfgCcSocuPin

Struct DcfgCcSocuPin 

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

With TZ-M, the part can be sold by level 1 customers (secure code developer) to level-2 customers who develops non-secure code only. - In this scenario, or easy of development, Level-I customer releases the part to always allow non-secure debug. - To allow level-2 customers to further seal the part DCFG_CC_SOCU_NS is used. - ROM will use this word to further restrict the debug access.

Tuple Fields§

§0: u32

Implementations§

Source§

impl DcfgCcSocuPin

Source

pub const fn niden(&self) -> DcfgCcSocuPinNiden

Non Secure non-invasive debug enable

Source

pub const fn set_niden(&mut self, val: DcfgCcSocuPinNiden)

Non Secure non-invasive debug enable

Source

pub const fn dbgen(&self) -> DcfgCcSocuPinDbgen

Non Secure debug enable

Source

pub const fn set_dbgen(&mut self, val: DcfgCcSocuPinDbgen)

Non Secure debug enable

Source

pub const fn spniden(&self) -> DcfgCcSocuPinSpniden

Secure non-invasive debug enable

Source

pub const fn set_spniden(&mut self, val: DcfgCcSocuPinSpniden)

Secure non-invasive debug enable

Source

pub const fn spiden(&self) -> DcfgCcSocuPinSpiden

Secure invasive debug enable

Source

pub const fn set_spiden(&mut self, val: DcfgCcSocuPinSpiden)

Secure invasive debug enable

Source

pub const fn tapen(&self) -> DcfgCcSocuPinTapen

JTAG TAP enable

Source

pub const fn set_tapen(&mut self, val: DcfgCcSocuPinTapen)

JTAG TAP enable

Source

pub const fn cpu1_dbgen(&self) -> DcfgCcSocuPinCpu1Dbgen

CPU1 (Micro cortex M33) invasive debug enable

Source

pub const fn set_cpu1_dbgen(&mut self, val: DcfgCcSocuPinCpu1Dbgen)

CPU1 (Micro cortex M33) invasive debug enable

Source

pub const fn isp_cmd_en(&self) -> DcfgCcSocuPinIspCmdEn

ISP Boot Command enable

Source

pub const fn set_isp_cmd_en(&mut self, val: DcfgCcSocuPinIspCmdEn)

ISP Boot Command enable

Source

pub const fn fa_cmd_en(&self) -> DcfgCcSocuPinFaCmdEn

FA Command enable

Source

pub const fn set_fa_cmd_en(&mut self, val: DcfgCcSocuPinFaCmdEn)

FA Command enable

Source

pub const fn me_cmd_en(&self) -> DcfgCcSocuPinMeCmdEn

Flash Mass Erase Command enable

Source

pub const fn set_me_cmd_en(&mut self, val: DcfgCcSocuPinMeCmdEn)

Flash Mass Erase Command enable

Source

pub const fn cpu1_niden(&self) -> DcfgCcSocuPinCpu1Niden

CPU1 (Micro cortex M33) non-invasive debug enable

Source

pub const fn set_cpu1_niden(&mut self, val: DcfgCcSocuPinCpu1Niden)

CPU1 (Micro cortex M33) non-invasive debug enable

Source

pub const fn uuid_check(&self) -> bool

Enforce UUID match during Debug authentication.

Source

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

Enforce UUID match during Debug authentication.

Source

pub const fn inverse_value(&self) -> u16

inverse value of bits [15:0]

Source

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

inverse value of bits [15:0]

Trait Implementations§

Source§

impl Clone for DcfgCcSocuPin

Source§

fn clone(&self) -> DcfgCcSocuPin

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 DcfgCcSocuPin

Source§

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

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

impl Default for DcfgCcSocuPin

Source§

fn default() -> DcfgCcSocuPin

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

impl PartialEq for DcfgCcSocuPin

Source§

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

Source§

impl Eq for DcfgCcSocuPin

Source§

impl StructuralPartialEq for DcfgCcSocuPin

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.