#[repr(C)]
pub struct RegisterBlock { pub tasks_startecb: TASKS_STARTECB, pub tasks_stopecb: TASKS_STOPECB, pub subscribe_startecb: SUBSCRIBE_STARTECB, pub subscribe_stopecb: SUBSCRIBE_STOPECB, pub events_endecb: EVENTS_ENDECB, pub events_errorecb: EVENTS_ERRORECB, pub publish_endecb: PUBLISH_ENDECB, pub publish_errorecb: PUBLISH_ERRORECB, pub intenset: INTENSET, pub intenclr: INTENCLR, pub ecbdataptr: ECBDATAPTR, /* private fields */ }
Expand description

Register block

Fields

tasks_startecb: TASKS_STARTECB

0x00 - Start ECB block encrypt

tasks_stopecb: TASKS_STOPECB

0x04 - Abort a possible executing ECB operation

subscribe_startecb: SUBSCRIBE_STARTECB

0x80 - Subscribe configuration for task STARTECB

subscribe_stopecb: SUBSCRIBE_STOPECB

0x84 - Subscribe configuration for task STOPECB

events_endecb: EVENTS_ENDECB

0x100 - ECB block encrypt complete

events_errorecb: EVENTS_ERRORECB

0x104 - ECB block encrypt aborted because of a STOPECB task or due to an error

publish_endecb: PUBLISH_ENDECB

0x180 - Publish configuration for event ENDECB

publish_errorecb: PUBLISH_ERRORECB

0x184 - Publish configuration for event ERRORECB

intenset: INTENSET

0x304 - Enable interrupt

intenclr: INTENCLR

0x308 - Disable interrupt

ecbdataptr: ECBDATAPTR

0x504 - ECB block encrypt memory pointers

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.