pub struct CRYP_CSGCMCCM5R_SPEC;
Expand description

These registers contain the complete internal register states of the CRYP processor when the GCM/GMAC or CCM algorithm is selected. They are useful when a context swap has to be performed because a high-priority task needs the cryptographic processor while it is already in use by another task. When such an event occurs, the CRYP_CSGCMCCM0..7R and CRYP_CSGCM0..7R (in GCM/GMAC mode) or CRYP_CSGCMCCM0..7R (in CCM mode) registers have to be read and the values retrieved have to be saved in the system memory space. The cryptographic processor can then be used by the preemptive task. Then when the cryptographic computation is complete, the saved context can be read from memory and written back into the corresponding context swap registers.

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

For information about available fields see cryp_csgcmccm5r module

Trait Implementations

read() method returns cryp_csgcmccm5r::R reader structure

Result from a call to read and argument to modify.

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

reset() method sets CRYP_CSGCMCCM5R to value 0

Reset value of the register.

write(|w| ..) method takes cryp_csgcmccm5r::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.