Struct lpc55_pac::hashcrypt::RegisterBlock [−][src]
#[repr(C)]pub struct RegisterBlock {}Show 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], // some fields omitted
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 - no description available
digest0: [Reg<DIGEST0_SPEC>; 8]
0x40 - 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 - no description available