RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock {
    pub secure_hash_word0: SECURE_HASH_WORD0,
    pub secure_hash_word1: SECURE_HASH_WORD1,
    pub secure_hash_word2: SECURE_HASH_WORD2,
    pub secure_hash_word3: SECURE_HASH_WORD3,
    pub secure_access_restrict: SECURE_ACCESS_RESTRICT,
    pub secure_dead_access_restrict_zeros: SECURE_DEAD_ACCESS_RESTRICT_ZEROS,
    pub customer_data: [CUSTOMER_DATA; 6],
    /* private fields */
}
Expand description

Register block

Fields§

§secure_hash_word0: SECURE_HASH_WORD0

0x2c - Secure 128 bits HASH word 0 that is used for authentication in SECURE protection state.

§secure_hash_word1: SECURE_HASH_WORD1

0x30 - Secure 128 bits HASH word 1 that is used for authentication in SECURE protection state.

§secure_hash_word2: SECURE_HASH_WORD2

0x34 - Secure 128 bits HASH word 2 that is used for authentication in SECURE protection state.

§secure_hash_word3: SECURE_HASH_WORD3

0x38 - Secure 128 bits HASH word 3 that is used for authentication in SECURE protection state.

§secure_access_restrict: SECURE_ACCESS_RESTRICT

0x3c - Access restrictions for SECURE protection state in SECURE lifecycle stage

§secure_dead_access_restrict_zeros: SECURE_DEAD_ACCESS_RESTRICT_ZEROS

0x40 - Access restrictions for DEAD protection state in SECURE lifecycle stage and number of zeros for Secure fuse group

§customer_data: [CUSTOMER_DATA; 6]

0x68..0x80 - Available EFUSE bits for customer usage.They can be programmed in NORMAL protection state via CMx/DAP and in SECURE protection state via CMx.

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> 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.