Struct nrf5340_net_pac::ecb_ns::RegisterBlock
source · [−]#[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
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more