pub struct RegisterBlock {Show 17 fields
pub tasks_ksgen: Reg<TASKS_KSGEN_SPEC>,
pub tasks_crypt: Reg<TASKS_CRYPT_SPEC>,
pub tasks_stop: Reg<TASKS_STOP_SPEC>,
pub events_endksgen: Reg<EVENTS_ENDKSGEN_SPEC>,
pub events_endcrypt: Reg<EVENTS_ENDCRYPT_SPEC>,
pub events_error: Reg<EVENTS_ERROR_SPEC>,
pub shorts: Reg<SHORTS_SPEC>,
pub intenset: Reg<INTENSET_SPEC>,
pub intenclr: Reg<INTENCLR_SPEC>,
pub micstatus: Reg<MICSTATUS_SPEC>,
pub enable: Reg<ENABLE_SPEC>,
pub mode: Reg<MODE_SPEC>,
pub cnfptr: Reg<CNFPTR_SPEC>,
pub inptr: Reg<INPTR_SPEC>,
pub outptr: Reg<OUTPTR_SPEC>,
pub scratchptr: Reg<SCRATCHPTR_SPEC>,
pub power: Reg<POWER_SPEC>,
/* private fields */
}Expand description
Register block
Fields§
§tasks_ksgen: Reg<TASKS_KSGEN_SPEC>0x00 - Start generation of key-stream. This operation will stop by itself when completed.
tasks_crypt: Reg<TASKS_CRYPT_SPEC>0x04 - Start encrypt/decrypt. This operation will stop by itself when completed.
tasks_stop: Reg<TASKS_STOP_SPEC>0x08 - Stop encrypt/decrypt.
events_endksgen: Reg<EVENTS_ENDKSGEN_SPEC>0x100 - Keystream generation completed.
events_endcrypt: Reg<EVENTS_ENDCRYPT_SPEC>0x104 - Encrypt/decrypt completed.
events_error: Reg<EVENTS_ERROR_SPEC>0x108 - Error happened.
shorts: Reg<SHORTS_SPEC>0x200 - Shortcuts for the CCM.
intenset: Reg<INTENSET_SPEC>0x304 - Interrupt enable set register.
intenclr: Reg<INTENCLR_SPEC>0x308 - Interrupt enable clear register.
micstatus: Reg<MICSTATUS_SPEC>0x400 - CCM RX MIC check result.
enable: Reg<ENABLE_SPEC>0x500 - CCM enable.
mode: Reg<MODE_SPEC>0x504 - Operation mode.
cnfptr: Reg<CNFPTR_SPEC>0x508 - Pointer to a data structure holding AES key and NONCE vector.
inptr: Reg<INPTR_SPEC>0x50c - Pointer to the input packet.
outptr: Reg<OUTPTR_SPEC>0x510 - Pointer to the output packet.
scratchptr: Reg<SCRATCHPTR_SPEC>0x514 - Pointer to a scratch data area used for temporary storage during resolution. A minimum of 43 bytes must be reserved.
power: Reg<POWER_SPEC>0xffc - Peripheral power control.