Skip to main content

RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock {
    pub tasks_push_keyslot: TASKS_PUSH_KEYSLOT,
    pub events_keyslot_pushed: EVENTS_KEYSLOT_PUSHED,
    pub events_keyslot_revoked: EVENTS_KEYSLOT_REVOKED,
    pub events_keyslot_error: EVENTS_KEYSLOT_ERROR,
    pub inten: INTEN,
    pub intenset: INTENSET,
    pub intenclr: INTENCLR,
    pub intpend: INTPEND,
    pub status: STATUS,
    pub selectkeyslot: SELECTKEYSLOT,
    /* private fields */
}
Expand description

Register block

Fields§

§tasks_push_keyslot: TASKS_PUSH_KEYSLOT

0x00 - Push a key slot over secure APB

§events_keyslot_pushed: EVENTS_KEYSLOT_PUSHED

0x100 - Key successfully pushed over secure APB

§events_keyslot_revoked: EVENTS_KEYSLOT_REVOKED

0x104 - Key has been revoked and cannot be tasked for selection

§events_keyslot_error: EVENTS_KEYSLOT_ERROR

0x108 - No key slot selected, no destination address defined, or error during push operation

§inten: INTEN

0x300 - Enable or disable interrupt

§intenset: INTENSET

0x304 - Enable interrupt

§intenclr: INTENCLR

0x308 - Disable interrupt

§intpend: INTPEND

0x30c - Pending interrupts

§status: STATUS

0x40c - Status bits for KMU operation

§selectkeyslot: SELECTKEYSLOT

0x500 - Select key slot ID to be read over AHB or pushed over secure APB when TASKS_PUSH_KEYSLOT is started

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> Same for T

Source§

type Output = T

Should always be Self
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.