pub struct Ecb { /* private fields */ }
Expand description
AES ECB Mode Encryption.
Implementations§
Source§impl Ecb
impl Ecb
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn tasks_startecb(self) -> Reg<u32, W>
pub const fn tasks_startecb(self) -> Reg<u32, W>
Start ECB block encrypt. If a crypto operation is running, this will not initiate a new encryption and the ERRORECB event will be triggered.
Sourcepub const fn tasks_stopecb(self) -> Reg<u32, W>
pub const fn tasks_stopecb(self) -> Reg<u32, W>
Stop current ECB encryption. If a crypto operation is running, this will will trigger the ERRORECB event.
Sourcepub const fn events_endecb(self) -> Reg<u32, RW>
pub const fn events_endecb(self) -> Reg<u32, RW>
ECB block encrypt complete.
Sourcepub const fn events_errorecb(self) -> Reg<u32, RW>
pub const fn events_errorecb(self) -> Reg<u32, RW>
ECB block encrypt aborted due to a STOPECB task or due to an error.
Sourcepub const fn ecbdataptr(self) -> Reg<u32, RW>
pub const fn ecbdataptr(self) -> Reg<u32, RW>
ECB block encrypt memory pointer.
Trait Implementations§
impl Copy for Ecb
impl Eq for Ecb
impl Send for Ecb
impl StructuralPartialEq for Ecb
impl Sync for Ecb
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)