SEC_OTFDEC1

Struct SEC_OTFDEC1 

Source
pub struct SEC_OTFDEC1 { /* private fields */ }
Expand description

On-The-Fly Decryption engine

Implementations§

Source§

impl SEC_OTFDEC1

Source

pub const PTR: *const RegisterBlock = {0x56005000 as *const stm32h573::otfdec1::RegisterBlock}

Pointer to the register block

Source

pub const fn ptr() -> *const RegisterBlock

Return the pointer to the register block

Source

pub unsafe fn steal() -> Self

Steal an instance of this peripheral

§Safety

Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.

Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.

Methods from Deref<Target = RegisterBlock>§

Source

pub fn cr(&self) -> &CR

0x00 - OTFDEC control register

Source

pub fn privcfgr(&self) -> &PRIVCFGR

0x10 - OTFDEC_PRIVCFGR

Source

pub fn r1cfgr(&self) -> &R1CFGR

0x20 - OTFDEC region 1 configuration register

Source

pub fn r1startaddr(&self) -> &R1STARTADDR

0x24 - OTFDEC region 1 start address register

Source

pub fn r1endaddr(&self) -> &R1ENDADDR

0x28 - OTFDEC region 1 end address register

Source

pub fn r1noncer0(&self) -> &R1NONCER0

0x2c - OTFDEC region 1 nonce register 0

Source

pub fn r1noncer1(&self) -> &R1NONCER1

0x30 - OTFDEC region 1 nonce register 1

Source

pub fn r1keyr0(&self) -> &R1KEYR0

0x34 - OTFDEC region 1 key register 0

Source

pub fn r1keyr1(&self) -> &R1KEYR1

0x38 - OTFDEC region 1 key register 1

Source

pub fn r1keyr2(&self) -> &R1KEYR2

0x3c - OTFDEC region 1 key register 2

Source

pub fn r1keyr3(&self) -> &R1KEYR3

0x40 - OTFDEC region 1 key register 3

Source

pub fn r2cfgr(&self) -> &R2CFGR

0x50 - OTFDEC region 2 configuration register

Source

pub fn r2startaddr(&self) -> &R2STARTADDR

0x54 - OTFDEC region 2 start address register

Source

pub fn r2endaddr(&self) -> &R2ENDADDR

0x58 - OTFDEC region 2 end address register

Source

pub fn r2noncer0(&self) -> &R2NONCER0

0x5c - OTFDEC region 2 nonce register 0

Source

pub fn r2noncer1(&self) -> &R2NONCER1

0x60 - OTFDEC region 2 nonce register 1

Source

pub fn r2keyr0(&self) -> &R2KEYR0

0x64 - OTFDEC region 2 key register 0

Source

pub fn r2keyr1(&self) -> &R2KEYR1

0x68 - OTFDEC region 2 key register 1

Source

pub fn r2keyr2(&self) -> &R2KEYR2

0x6c - OTFDEC region 2 key register 2

Source

pub fn r2keyr3(&self) -> &R2KEYR3

0x70 - OTFDEC region 2 key register 3

Source

pub fn r3cfgr(&self) -> &R3CFGR

0x80 - OTFDEC region 3 configuration register

Source

pub fn r3startaddr(&self) -> &R3STARTADDR

0x84 - OTFDEC region 3 start address register

Source

pub fn r3endaddr(&self) -> &R3ENDADDR

0x88 - OTFDEC region 3 end address register

Source

pub fn r3noncer0(&self) -> &R3NONCER0

0x8c - OTFDEC region 3 nonce register 0

Source

pub fn r3noncer1(&self) -> &R3NONCER1

0x90 - OTFDEC region 3 nonce register 1

Source

pub fn r3keyr0(&self) -> &R3KEYR0

0x94 - OTFDEC region 3 key register 0

Source

pub fn r3keyr1(&self) -> &R3KEYR1

0x98 - OTFDEC region 3 key register 1

Source

pub fn r3keyr2(&self) -> &R3KEYR2

0x9c - OTFDEC region 3 key register 2

Source

pub fn r3keyr3(&self) -> &R3KEYR3

0xa0 - OTFDEC region 3 key register 3

Source

pub fn r4cfgr(&self) -> &R4CFGR

0xb0 - OTFDEC region 4 configuration register

Source

pub fn r4startaddr(&self) -> &R4STARTADDR

0xb4 - OTFDEC region 4 start address register

Source

pub fn r4endaddr(&self) -> &R4ENDADDR

0xb8 - OTFDEC region 4 end address register

Source

pub fn r4noncer0(&self) -> &R4NONCER0

0xbc - OTFDEC region 4 nonce register 0

Source

pub fn r4noncer1(&self) -> &R4NONCER1

0xc0 - OTFDEC region 4 nonce register 1

Source

pub fn r4keyr0(&self) -> &R4KEYR0

0xc4 - OTFDEC region 4 key register 0

Source

pub fn r4keyr1(&self) -> &R4KEYR1

0xc8 - OTFDEC region 4 key register 1

Source

pub fn r4keyr2(&self) -> &R4KEYR2

0xcc - OTFDEC region 4 key register 2

Source

pub fn r4keyr3(&self) -> &R4KEYR3

0xd0 - OTFDEC region 4 key register 3

Source

pub fn isr(&self) -> &ISR

0x300 - OTFDEC interrupt status register

Source

pub fn icr(&self) -> &ICR

0x304 - OTFDEC interrupt clear register

Source

pub fn ier(&self) -> &IER

0x308 - OTFDEC interrupt enable register

Trait Implementations§

Source§

impl Debug for SEC_OTFDEC1

Source§

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

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

impl Deref for SEC_OTFDEC1

Source§

type Target = RegisterBlock

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl Send for SEC_OTFDEC1

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
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.