SEC_TAMP

Struct SEC_TAMP 

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

Tamper and backup

Implementations§

Source§

impl SEC_TAMP

Source

pub const PTR: *const RegisterBlock = {0x54007c00 as *const stm32h573::tamp::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 cr1(&self) -> &CR1

0x00 - TAMP control register 1

Source

pub fn cr2(&self) -> &CR2

0x04 - TAMP control register 2

Source

pub fn cr3(&self) -> &CR3

0x08 - TAMP control register 3

Source

pub fn fltcr(&self) -> &FLTCR

0x0c - TAMP filter control register

Source

pub fn atcr1(&self) -> &ATCR1

0x10 - TAMP active tamper control register 1

Source

pub fn atseedr(&self) -> &ATSEEDR

0x14 - TAMP active tamper seed register

Source

pub fn ator(&self) -> &ATOR

0x18 - TAMP active tamper output register

Source

pub fn atcr2(&self) -> &ATCR2

0x1c - TAMP active tamper control register 2

Source

pub fn seccfgr(&self) -> &SECCFGR

0x20 - TAMP secure mode register

Source

pub fn privcfgr(&self) -> &PRIVCFGR

0x24 - TAMP privilege mode control register

Source

pub fn ier(&self) -> &IER

0x2c - TAMP interrupt enable register

Source

pub fn sr(&self) -> &SR

0x30 - TAMP status register

Source

pub fn misr(&self) -> &MISR

0x34 - TAMP non-secure masked interrupt status register

Source

pub fn smisr(&self) -> &SMISR

0x38 - TAMP secure masked interrupt status register

Source

pub fn scr(&self) -> &SCR

0x3c - TAMP status clear register

Source

pub fn count1r(&self) -> &COUNT1R

0x40 - TAMP monotonic counter 1 register

Source

pub fn or(&self) -> &OR

0x50 - TAMP option register

Source

pub fn ercfgr(&self) -> &ERCFGR

0x54 - TAMP erase configuration register

Source

pub fn bkp0r(&self) -> &BKP0R

0x100 - TAMP backup 0 register

Source

pub fn bkp1r(&self) -> &BKP1R

0x104 - TAMP backup 1 register

Source

pub fn bkp2r(&self) -> &BKP2R

0x108 - TAMP backup 2 register

Source

pub fn bkp3r(&self) -> &BKP3R

0x10c - TAMP backup 3 register

Source

pub fn bkp4r(&self) -> &BKP4R

0x110 - TAMP backup 4 register

Source

pub fn bkp5r(&self) -> &BKP5R

0x114 - TAMP backup 5 register

Source

pub fn bkp6r(&self) -> &BKP6R

0x118 - TAMP backup 6 register

Source

pub fn bkp7r(&self) -> &BKP7R

0x11c - TAMP backup 7 register

Source

pub fn bkp8r(&self) -> &BKP8R

0x120 - TAMP backup 8 register

Source

pub fn bkp9r(&self) -> &BKP9R

0x124 - TAMP backup 9 register

Source

pub fn bkp10r(&self) -> &BKP10R

0x128 - TAMP backup 10 register

Source

pub fn bkp11r(&self) -> &BKP11R

0x12c - TAMP backup 11 register

Source

pub fn bkp12r(&self) -> &BKP12R

0x130 - TAMP backup 12 register

Source

pub fn bkp13r(&self) -> &BKP13R

0x134 - TAMP backup 13 register

Source

pub fn bkp14r(&self) -> &BKP14R

0x138 - TAMP backup 14 register

Source

pub fn bkp15r(&self) -> &BKP15R

0x13c - TAMP backup 15 register

Source

pub fn bkp16r(&self) -> &BKP16R

0x140 - TAMP backup 16 register

Source

pub fn bkp17r(&self) -> &BKP17R

0x144 - TAMP backup 17 register

Source

pub fn bkp18r(&self) -> &BKP18R

0x148 - TAMP backup 18 register

Source

pub fn bkp19r(&self) -> &BKP19R

0x14c - TAMP backup 19 register

Source

pub fn bkp20r(&self) -> &BKP20R

0x150 - TAMP backup 20 register

Source

pub fn bkp21r(&self) -> &BKP21R

0x154 - TAMP backup 21 register

Source

pub fn bkp22r(&self) -> &BKP22R

0x158 - TAMP backup 22 register

Source

pub fn bkp23r(&self) -> &BKP23R

0x15c - TAMP backup 23 register

Source

pub fn bkp24r(&self) -> &BKP24R

0x160 - TAMP backup 24 register

Source

pub fn bkp25r(&self) -> &BKP25R

0x164 - TAMP backup 25 register

Source

pub fn bkp26r(&self) -> &BKP26R

0x168 - TAMP backup 26 register

Source

pub fn bkp27r(&self) -> &BKP27R

0x16c - TAMP backup 27 register

Source

pub fn bkp28r(&self) -> &BKP28R

0x170 - TAMP backup 28 register

Source

pub fn bkp29r(&self) -> &BKP29R

0x174 - TAMP backup 29 register

Source

pub fn bkp30r(&self) -> &BKP30R

0x178 - TAMP backup 30 register

Source

pub fn bkp31r(&self) -> &BKP31R

0x17c - TAMP backup 31 register

Trait Implementations§

Source§

impl Debug for SEC_TAMP

Source§

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

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

impl Deref for SEC_TAMP

Source§

type Target = RegisterBlock

The resulting type after dereferencing.
Source§

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

Dereferences the value.
Source§

impl Send for SEC_TAMP

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.