Struct nrf5340_net_pac::ecb_ns::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {
pub tasks_startecb: Reg<TASKS_STARTECB_SPEC>,
pub tasks_stopecb: Reg<TASKS_STOPECB_SPEC>,
pub subscribe_startecb: Reg<SUBSCRIBE_STARTECB_SPEC>,
pub subscribe_stopecb: Reg<SUBSCRIBE_STOPECB_SPEC>,
pub events_endecb: Reg<EVENTS_ENDECB_SPEC>,
pub events_errorecb: Reg<EVENTS_ERRORECB_SPEC>,
pub publish_endecb: Reg<PUBLISH_ENDECB_SPEC>,
pub publish_errorecb: Reg<PUBLISH_ERRORECB_SPEC>,
pub intenset: Reg<INTENSET_SPEC>,
pub intenclr: Reg<INTENCLR_SPEC>,
pub ecbdataptr: Reg<ECBDATAPTR_SPEC>,
/* private fields */
}
Expand description
Register block
Fields
tasks_startecb: Reg<TASKS_STARTECB_SPEC>
0x00 - Start ECB block encrypt
tasks_stopecb: Reg<TASKS_STOPECB_SPEC>
0x04 - Abort a possible executing ECB operation
subscribe_startecb: Reg<SUBSCRIBE_STARTECB_SPEC>
0x80 - Subscribe configuration for task STARTECB
subscribe_stopecb: Reg<SUBSCRIBE_STOPECB_SPEC>
0x84 - Subscribe configuration for task STOPECB
events_endecb: Reg<EVENTS_ENDECB_SPEC>
0x100 - ECB block encrypt complete
events_errorecb: Reg<EVENTS_ERRORECB_SPEC>
0x104 - ECB block encrypt aborted because of a STOPECB task or due to an error
publish_endecb: Reg<PUBLISH_ENDECB_SPEC>
0x180 - Publish configuration for event ENDECB
publish_errorecb: Reg<PUBLISH_ERRORECB_SPEC>
0x184 - Publish configuration for event ERRORECB
intenset: Reg<INTENSET_SPEC>
0x304 - Enable interrupt
intenclr: Reg<INTENCLR_SPEC>
0x308 - Disable interrupt
ecbdataptr: Reg<ECBDATAPTR_SPEC>
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more