pub struct HASH_CSR0_SPEC;
Expand description

These registers contain the complete internal register states of the hash processor. They are useful when a context swap has to be done because a high-priority task needs to use the hash processor while it is already used by another task. When such an event occurs, the HASH_CSRx registers have to be read and the read values have to be saved in the system memory space. Then the hash processor can be used by the preemptive task, and when the hash computation is complete, the saved context can be read from memory and written back into the HASH_CSRx registers.

This register you can read, write_with_zero, reset, write, modify. See API.

For information about available fields see hash_csr0 module

Trait Implementations

read() method returns hash_csr0::R reader structure

Result from a call to read and argument to modify.

Raw register type (u8, u16, u32, …).

reset() method sets HASH_CSR0 to value 0x02

Reset value of the register.

write(|w| ..) method takes hash_csr0::W writer structure

Writer type argument to write, et al.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.