#[repr(C)]
pub struct RegisterBlock {
Show 16 fields pub tasks_ksgen: TASKS_KSGEN, pub tasks_crypt: TASKS_CRYPT, pub tasks_stop: TASKS_STOP, pub events_endksgen: EVENTS_ENDKSGEN, pub events_endcrypt: EVENTS_ENDCRYPT, pub events_error: EVENTS_ERROR, pub shorts: SHORTS, pub intenset: INTENSET, pub intenclr: INTENCLR, pub micstatus: MICSTATUS, pub enable: ENABLE, pub mode: MODE, pub cnfptr: CNFPTR, pub inptr: INPTR, pub outptr: OUTPTR, pub scratchptr: SCRATCHPTR, /* private fields */
}
Expand description

Register block

Fields

tasks_ksgen: TASKS_KSGEN

0x00 - Start generation of key-stream. This operation will stop by itself when completed.

tasks_crypt: TASKS_CRYPT

0x04 - Start encryption/decryption. This operation will stop by itself when completed.

tasks_stop: TASKS_STOP

0x08 - Stop encryption/decryption

events_endksgen: EVENTS_ENDKSGEN

0x100 - Key-stream generation complete

events_endcrypt: EVENTS_ENDCRYPT

0x104 - Encrypt/decrypt complete

events_error: EVENTS_ERROR

0x108 - CCM error event

shorts: SHORTS

0x200 - Shortcut register

intenset: INTENSET

0x304 - Enable interrupt

intenclr: INTENCLR

0x308 - Disable interrupt

micstatus: MICSTATUS

0x400 - MIC check result

enable: ENABLE

0x500 - Enable

mode: MODE

0x504 - Operation mode

cnfptr: CNFPTR

0x508 - Pointer to data structure holding AES key and NONCE vector

inptr: INPTR

0x50c - Input pointer

outptr: OUTPTR

0x510 - Output pointer

scratchptr: SCRATCHPTR

0x514 - Pointer to data area used for temporary storage

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.