SEC_HASH

Struct SEC_HASH 

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

HASH register bank

Implementations§

Source§

impl SEC_HASH

Source

pub const PTR: *const RegisterBlock = {0x520c0400 as *const stm32h573::hash::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 - HASH control register

Source

pub fn din(&self) -> &DIN

0x04 - HASH data input register

Source

pub fn str(&self) -> &STR

0x08 - HASH start register

Source

pub fn hra0(&self) -> &HRA0

0x0c - HASH aliased digest register 0

Source

pub fn hra1(&self) -> &HRA1

0x10 - HASH aliased digest register 1

Source

pub fn hra2(&self) -> &HRA2

0x14 - HASH aliased digest register 2

Source

pub fn hra3(&self) -> &HRA3

0x18 - HASH aliased digest register 3

Source

pub fn hra4(&self) -> &HRA4

0x1c - HASH aliased digest register 4

Source

pub fn imr(&self) -> &IMR

0x20 - HASH interrupt enable register

Source

pub fn sr(&self) -> &SR

0x24 - HASH status register

Source

pub fn csr0(&self) -> &CSR0

0xf8 - HASH context swap register 0

Source

pub fn csr1(&self) -> &CSR1

0xfc - HASH context swap register 1

Source

pub fn csr2(&self) -> &CSR2

0x100 - HASH context swap register 2

Source

pub fn csr3(&self) -> &CSR3

0x104 - HASH context swap register 3

Source

pub fn csr4(&self) -> &CSR4

0x108 - HASH context swap register 4

Source

pub fn csr5(&self) -> &CSR5

0x10c - HASH context swap register 5

Source

pub fn csr6(&self) -> &CSR6

0x110 - HASH context swap register 6

Source

pub fn csr7(&self) -> &CSR7

0x114 - HASH context swap register 7

Source

pub fn csr8(&self) -> &CSR8

0x118 - HASH context swap register 8

Source

pub fn csr9(&self) -> &CSR9

0x11c - HASH context swap register 9

Source

pub fn csr10(&self) -> &CSR10

0x120 - HASH context swap register 10

Source

pub fn csr11(&self) -> &CSR11

0x124 - HASH context swap register 11

Source

pub fn csr12(&self) -> &CSR12

0x128 - HASH context swap register 12

Source

pub fn csr13(&self) -> &CSR13

0x12c - HASH context swap register 13

Source

pub fn csr14(&self) -> &CSR14

0x130 - HASH context swap register 14

Source

pub fn csr15(&self) -> &CSR15

0x134 - HASH context swap register 15

Source

pub fn csr16(&self) -> &CSR16

0x138 - HASH context swap register 16

Source

pub fn csr17(&self) -> &CSR17

0x13c - HASH context swap register 17

Source

pub fn csr18(&self) -> &CSR18

0x140 - HASH context swap register 18

Source

pub fn csr19(&self) -> &CSR19

0x144 - HASH context swap register 19

Source

pub fn csr20(&self) -> &CSR20

0x148 - HASH context swap register 20

Source

pub fn csr21(&self) -> &CSR21

0x14c - HASH context swap register 21

Source

pub fn csr22(&self) -> &CSR22

0x150 - HASH context swap register 22

Source

pub fn csr23(&self) -> &CSR23

0x154 - HASH context swap register 23

Source

pub fn csr24(&self) -> &CSR24

0x158 - HASH context swap register 24

Source

pub fn csr25(&self) -> &CSR25

0x15c - HASH context swap register 25

Source

pub fn csr26(&self) -> &CSR26

0x160 - HASH context swap register 26

Source

pub fn csr27(&self) -> &CSR27

0x164 - HASH context swap register 27

Source

pub fn csr28(&self) -> &CSR28

0x168 - HASH context swap register 28

Source

pub fn csr29(&self) -> &CSR29

0x16c - HASH context swap register 29

Source

pub fn csr30(&self) -> &CSR30

0x170 - HASH context swap register 30

Source

pub fn csr31(&self) -> &CSR31

0x174 - HASH context swap register 31

Source

pub fn csr32(&self) -> &CSR32

0x178 - HASH context swap register 32

Source

pub fn csr33(&self) -> &CSR33

0x17c - HASH context swap register 33

Source

pub fn csr34(&self) -> &CSR34

0x180 - HASH context swap register 34

Source

pub fn csr35(&self) -> &CSR35

0x184 - HASH context swap register 35

Source

pub fn csr36(&self) -> &CSR36

0x188 - HASH context swap register 36

Source

pub fn csr37(&self) -> &CSR37

0x18c - HASH context swap register 37

Source

pub fn csr38(&self) -> &CSR38

0x190 - HASH context swap register 38

Source

pub fn csr39(&self) -> &CSR39

0x194 - HASH context swap register 39

Source

pub fn csr40(&self) -> &CSR40

0x198 - HASH context swap register 40

Source

pub fn csr41(&self) -> &CSR41

0x19c - HASH context swap register 41

Source

pub fn csr42(&self) -> &CSR42

0x1a0 - HASH context swap register 42

Source

pub fn csr43(&self) -> &CSR43

0x1a4 - HASH context swap register 43

Source

pub fn csr44(&self) -> &CSR44

0x1a8 - HASH context swap register 44

Source

pub fn csr45(&self) -> &CSR45

0x1ac - HASH context swap register 45

Source

pub fn csr46(&self) -> &CSR46

0x1b0 - HASH context swap register 46

Source

pub fn csr47(&self) -> &CSR47

0x1b4 - HASH context swap register 47

Source

pub fn csr48(&self) -> &CSR48

0x1b8 - HASH context swap register 48

Source

pub fn csr49(&self) -> &CSR49

0x1bc - HASH context swap register 49

Source

pub fn csr50(&self) -> &CSR50

0x1c0 - HASH context swap register 50

Source

pub fn csr51(&self) -> &CSR51

0x1c4 - HASH context swap register 51

Source

pub fn csr52(&self) -> &CSR52

0x1c8 - HASH context swap register 52

Source

pub fn csr53(&self) -> &CSR53

0x1cc - HASH context swap register 53

Source

pub fn csr54(&self) -> &CSR54

0x1d0 - HASH context swap register 54

Source

pub fn csr55(&self) -> &CSR55

0x1d4 - HASH context swap register 55

Source

pub fn csr56(&self) -> &CSR56

0x1d8 - HASH context swap register 56

Source

pub fn csr57(&self) -> &CSR57

0x1dc - HASH context swap register 57

Source

pub fn csr58(&self) -> &CSR58

0x1e0 - HASH context swap register 58

Source

pub fn csr59(&self) -> &CSR59

0x1e4 - HASH context swap register 59

Source

pub fn csr60(&self) -> &CSR60

0x1e8 - HASH context swap register 60

Source

pub fn csr61(&self) -> &CSR61

0x1ec - HASH context swap register 61

Source

pub fn csr62(&self) -> &CSR62

0x1f0 - HASH context swap register 62

Source

pub fn csr63(&self) -> &CSR63

0x1f4 - HASH context swap register 63

Source

pub fn csr64(&self) -> &CSR64

0x1f8 - HASH context swap register 64

Source

pub fn csr65(&self) -> &CSR65

0x1fc - HASH context swap register 65

Source

pub fn csr66(&self) -> &CSR66

0x200 - HASH context swap register 66

Source

pub fn csr67(&self) -> &CSR67

0x204 - HASH context swap register 67

Source

pub fn csr68(&self) -> &CSR68

0x208 - HASH context swap register 68

Source

pub fn csr69(&self) -> &CSR69

0x20c - HASH context swap register 69

Source

pub fn csr70(&self) -> &CSR70

0x210 - HASH context swap register 70

Source

pub fn csr71(&self) -> &CSR71

0x214 - HASH context swap register 71

Source

pub fn csr72(&self) -> &CSR72

0x218 - HASH context swap register 72

Source

pub fn csr73(&self) -> &CSR73

0x21c - HASH context swap register 73

Source

pub fn csr74(&self) -> &CSR74

0x220 - HASH context swap register 74

Source

pub fn csr75(&self) -> &CSR75

0x224 - HASH context swap register 75

Source

pub fn csr76(&self) -> &CSR76

0x228 - HASH context swap register 76

Source

pub fn csr77(&self) -> &CSR77

0x22c - HASH context swap register 77

Source

pub fn csr78(&self) -> &CSR78

0x230 - HASH context swap register 78

Source

pub fn csr79(&self) -> &CSR79

0x234 - HASH context swap register 79

Source

pub fn csr80(&self) -> &CSR80

0x238 - HASH context swap register 80

Source

pub fn csr81(&self) -> &CSR81

0x23c - HASH context swap register 81

Source

pub fn csr82(&self) -> &CSR82

0x240 - HASH context swap register 82

Source

pub fn csr83(&self) -> &CSR83

0x244 - HASH context swap register 83

Source

pub fn csr84(&self) -> &CSR84

0x248 - HASH context swap register 84

Source

pub fn csr85(&self) -> &CSR85

0x24c - HASH context swap register 85

Source

pub fn csr86(&self) -> &CSR86

0x250 - HASH context swap register 86

Source

pub fn csr87(&self) -> &CSR87

0x254 - HASH context swap register 87

Source

pub fn csr88(&self) -> &CSR88

0x258 - HASH context swap register 88

Source

pub fn csr89(&self) -> &CSR89

0x25c - HASH context swap register 89

Source

pub fn csr90(&self) -> &CSR90

0x260 - HASH context swap register 90

Source

pub fn csr91(&self) -> &CSR91

0x264 - HASH context swap register 91

Source

pub fn csr92(&self) -> &CSR92

0x268 - HASH context swap register 92

Source

pub fn csr93(&self) -> &CSR93

0x26c - HASH context swap register 93

Source

pub fn csr94(&self) -> &CSR94

0x270 - HASH context swap register 94

Source

pub fn csr95(&self) -> &CSR95

0x274 - HASH context swap register 95

Source

pub fn csr96(&self) -> &CSR96

0x278 - HASH context swap register 96

Source

pub fn csr97(&self) -> &CSR97

0x27c - HASH context swap register 97

Source

pub fn csr98(&self) -> &CSR98

0x280 - HASH context swap register 98

Source

pub fn csr99(&self) -> &CSR99

0x284 - HASH context swap register 99

Source

pub fn csr100(&self) -> &CSR100

0x288 - HASH context swap register 100

Source

pub fn csr101(&self) -> &CSR101

0x28c - HASH context swap register 101

Source

pub fn csr102(&self) -> &CSR102

0x290 - HASH context swap register 102

Source

pub fn hr0(&self) -> &HR0

0x310 - HASH digest register

Source

pub fn hr1(&self) -> &HR1

0x314 - HASH digest register

Source

pub fn hr2(&self) -> &HR2

0x318 - HASH digest register

Source

pub fn hr3(&self) -> &HR3

0x31c - HASH digest register

Source

pub fn hr4(&self) -> &HR4

0x320 - HASH digest register

Source

pub fn hr5(&self) -> &HR5

0x324 - HASH digest register

Source

pub fn hr6(&self) -> &HR6

0x328 - HASH digest register

Source

pub fn hr7(&self) -> &HR7

0x32c - HASH digest register

Source

pub fn hr8(&self) -> &HR8

0x330 - HASH digest register

Source

pub fn hr9(&self) -> &HR9

0x334 - HASH digest register

Source

pub fn hr10(&self) -> &HR10

0x338 - HASH digest register

Source

pub fn hr11(&self) -> &HR11

0x33c - HASH digest register

Source

pub fn hr12(&self) -> &HR12

0x340 - HASH digest register

Source

pub fn hr13(&self) -> &HR13

0x344 - HASH digest register

Source

pub fn hr14(&self) -> &HR14

0x348 - HASH digest register

Source

pub fn hr15(&self) -> &HR15

0x34c - HASH digest register

Trait Implementations§

Source§

impl Debug for SEC_HASH

Source§

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

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

impl Deref for SEC_HASH

Source§

type Target = RegisterBlock

The resulting type after dereferencing.
Source§

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

Dereferences the value.
Source§

impl Send for SEC_HASH

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.