pub struct RegisterBlock {
Show 19 fields pub tasks_ksgen: TASKS_KSGEN, pub tasks_crypt: TASKS_CRYPT, pub tasks_stop: TASKS_STOP, pub tasks_rateoverride: TASKS_RATEOVERRIDE, 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, pub maxpacketsize: MAXPACKETSIZE, pub rateoverride: RATEOVERRIDE, /* 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

tasks_rateoverride: TASKS_RATEOVERRIDE

0x0c - Override DATARATE setting in MODE register with the contents of the RATEOVERRIDE register for any ongoing encryption/decryption

events_endksgen: EVENTS_ENDKSGEN

0x100 - Key-stream generation complete

events_endcrypt: EVENTS_ENDCRYPT

0x104 - Encrypt/decrypt complete

events_error: EVENTS_ERROR

0x108 - Deprecated register - 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

maxpacketsize: MAXPACKETSIZE

0x518 - Length of key-stream generated when MODE.LENGTH = Extended.

rateoverride: RATEOVERRIDE

0x51c - Data rate override setting.

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.

Should always be Self
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.