[][src]Struct nrf52832_hal::nrf52_hal_common::target::ccm::RegisterBlock

#[repr(C)]
pub struct RegisterBlock { 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, // some fields omitted }

Register block

Fields

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

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

0x08 - Stop encryption/decryption

0x100 - Key-stream generation complete

0x104 - Encrypt/decrypt complete

0x108 - CCM error event

0x200 - Shortcut register

0x304 - Enable interrupt

0x308 - Disable interrupt

0x400 - MIC check result

0x500 - Enable

0x504 - Operation mode

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

0x50c - Input pointer

0x510 - Output pointer

0x514 - Pointer to data area used for temporary storage

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more