nxp-pac

Crates

git

Versions

mcxn947_cm33_core0

Flavors

ElsKs0

Struct ElsKs0 

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

Status Register.

Tuple Fields§

§0: u32

Implementations§

Source§

impl ElsKs0

Source

pub const fn ks0_ksize(&self) -> Ks0Ksize

Key size.

Source

pub const fn set_ks0_ksize(&mut self, val: Ks0Ksize)

Key size.

Source

pub const fn ks0_kact(&self) -> bool

Key is active.

Source

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

Key is active.

Source

pub const fn ks0_kbase(&self) -> bool

First slot in a multislot key.

Source

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

First slot in a multislot key.

Source

pub const fn ks0_fgp(&self) -> bool

Hardware Feature General Purpose.

Source

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

Hardware Feature General Purpose.

Source

pub const fn ks0_frtn(&self) -> bool

Hardware Feature Retention.

Source

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

Hardware Feature Retention.

Source

pub const fn ks0_fhwo(&self) -> bool

Hardware Feature Output.

Source

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

Hardware Feature Output.

Source

pub const fn ks0_ukpuk(&self) -> bool

CMAC key.

Source

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

CMAC key.

Source

pub const fn ks0_utecdh(&self) -> bool

CMAC key.

Source

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

CMAC key.

Source

pub const fn ks0_ucmac(&self) -> bool

CMAC key.

Source

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

CMAC key.

Source

pub const fn ks0_uksk(&self) -> bool

KSK key.

Source

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

KSK key.

Source

pub const fn ks0_urtf(&self) -> bool

Real Time Fingerprint key.

Source

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

Real Time Fingerprint key.

Source

pub const fn ks0_uckdf(&self) -> bool

Derivation key for CKDF command.

Source

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

Derivation key for CKDF command.

Source

pub const fn ks0_uhkdf(&self) -> bool

Derivation key for HKDF command.

Source

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

Derivation key for HKDF command.

Source

pub const fn ks0_uecsg(&self) -> bool

Ecc signing key.

Source

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

Ecc signing key.

Source

pub const fn ks0_uecdh(&self) -> bool

Ecc diffie hellman key.

Source

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

Ecc diffie hellman key.

Source

pub const fn ks0_uaes(&self) -> bool

Aes key.

Source

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

Aes key.

Source

pub const fn ks0_uhmac(&self) -> bool

Hmac key.

Source

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

Hmac key.

Source

pub const fn ks0_ukwk(&self) -> bool

Key wrapping key.

Source

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

Key wrapping key.

Source

pub const fn ks0_ukuok(&self) -> bool

Key unwrapping key.

Source

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

Key unwrapping key.

Source

pub const fn ks0_utlspms(&self) -> bool

TLS Pre Master Secret.

Source

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

TLS Pre Master Secret.

Source

pub const fn ks0_utlsms(&self) -> bool

TLS Master Secret.

Source

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

TLS Master Secret.

Source

pub const fn ks0_ukgsrc(&self) -> bool

Supply KEYGEN source.

Source

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

Supply KEYGEN source.

Source

pub const fn ks0_uhwo(&self) -> bool

Hardware out key.

Source

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

Hardware out key.

Source

pub const fn ks0_uwrpok(&self) -> bool

Wrap key.

Source

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

Wrap key.

Source

pub const fn ks0_uduk(&self) -> bool

Device Unique Key.

Source

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

Device Unique Key.

Source

pub const fn ks0_upprot(&self) -> u8

Priviledge level.

Source

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

Priviledge level.

Trait Implementations§

Source§

impl Clone for ElsKs0

Source§

fn clone(&self) -> ElsKs0

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 ElsKs0

Source§

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

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

impl Default for ElsKs0

Source§

fn default() -> ElsKs0

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

impl PartialEq for ElsKs0

Source§

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

Source§

impl Eq for ElsKs0

Source§

impl StructuralPartialEq for ElsKs0

Auto Trait Implementations§

§

impl Freeze for ElsKs0

§

impl RefUnwindSafe for ElsKs0

§

impl Send for ElsKs0

§

impl Sync for ElsKs0

§

impl Unpin for ElsKs0

§

impl UnwindSafe for ElsKs0

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.