#[repr(C)]
pub struct RegisterBlock {
Show 13 fields pub ctrl: Reg<CTRL_SPEC>, pub status: Reg<STATUS_SPEC>, pub intenset: Reg<INTENSET_SPEC>, pub intenclr: Reg<INTENCLR_SPEC>, pub memctrl: Reg<MEMCTRL_SPEC>, pub memaddr: Reg<MEMADDR_SPEC>, pub indata: Reg<INDATA_SPEC>, pub alias: [Reg<ALIAS_SPEC>; 7], pub digest0: [Reg<DIGEST0_SPEC>; 8], pub cryptcfg: Reg<CRYPTCFG_SPEC>, pub config: Reg<CONFIG_SPEC>, pub lock: Reg<LOCK_SPEC>, pub mask: [Reg<MASK_SPEC>; 4], /* private fields */
}
Expand description

Register block

Fields

ctrl: Reg<CTRL_SPEC>

0x00 - Control register to enable and operate Hash and Crypto

status: Reg<STATUS_SPEC>

0x04 - Indicates status of Hash peripheral.

intenset: Reg<INTENSET_SPEC>

0x08 - Write 1 to enable interrupts; reads back with which are set.

intenclr: Reg<INTENCLR_SPEC>

0x0c - Write 1 to clear interrupts.

memctrl: Reg<MEMCTRL_SPEC>

0x10 - Setup Master to access memory (if available)

memaddr: Reg<MEMADDR_SPEC>

0x14 - Address to start memory access from (if available).

indata: Reg<INDATA_SPEC>

0x20 - Input of 16 words at a time to load up buffer.

alias: [Reg<ALIAS_SPEC>; 7]

0x24..0x40 - no description available

digest0: [Reg<DIGEST0_SPEC>; 8]

0x40..0x60 - no description available

cryptcfg: Reg<CRYPTCFG_SPEC>

0x80 - Crypto settings for AES and Salsa and ChaCha

config: Reg<CONFIG_SPEC>

0x84 - Returns the configuration of this block in this chip - indicates what services are available.

lock: Reg<LOCK_SPEC>

0x8c - Lock register allows locking to the current security level or unlocking by the lock holding level.

mask: [Reg<MASK_SPEC>; 4]

0x90..0xa0 - no description available

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.