Struct esp32s3_hal::peripherals::XTS_AES
source · pub struct XTS_AES { /* private fields */ }
Implementations§
source§impl XTS_AES
impl XTS_AES
sourcepub unsafe fn steal() -> XTS_AES
pub unsafe fn steal() -> XTS_AES
Unsafely create an instance of this peripheral out of thin air.
§Safety
You must ensure that you’re only using one instance of this type at a time.
Methods from Deref<Target = RegisterBlock>§
sourcepub fn plain_(&self, n: usize) -> &Reg<PLAIN__SPEC>
pub fn plain_(&self, n: usize) -> &Reg<PLAIN__SPEC>
0x00..0x40 - Plaintext register %s
sourcepub fn plain__iter(&self) -> impl Iterator<Item = &Reg<PLAIN__SPEC>>
pub fn plain__iter(&self) -> impl Iterator<Item = &Reg<PLAIN__SPEC>>
Iterator for array of: 0x00..0x40 - Plaintext register %s
sourcepub fn linesize(&self) -> &Reg<LINESIZE_SPEC>
pub fn linesize(&self) -> &Reg<LINESIZE_SPEC>
0x40 - XTS-AES line-size register
sourcepub fn destination(&self) -> &Reg<DESTINATION_SPEC>
pub fn destination(&self) -> &Reg<DESTINATION_SPEC>
0x44 - XTS-AES destination register
sourcepub fn physical_address(&self) -> &Reg<PHYSICAL_ADDRESS_SPEC>
pub fn physical_address(&self) -> &Reg<PHYSICAL_ADDRESS_SPEC>
0x48 - physical address
sourcepub fn trigger(&self) -> &Reg<TRIGGER_SPEC>
pub fn trigger(&self) -> &Reg<TRIGGER_SPEC>
0x4c - XTS-AES trigger register
sourcepub fn release(&self) -> &Reg<RELEASE_SPEC>
pub fn release(&self) -> &Reg<RELEASE_SPEC>
0x50 - XTS-AES release control register
sourcepub fn destroy(&self) -> &Reg<DESTROY_SPEC>
pub fn destroy(&self) -> &Reg<DESTROY_SPEC>
0x54 - XTS-AES destroy control register
sourcepub fn state(&self) -> &Reg<STATE_SPEC>
pub fn state(&self) -> &Reg<STATE_SPEC>
0x58 - XTS-AES status register
Trait Implementations§
source§impl Peripheral for XTS_AES
impl Peripheral for XTS_AES
Auto Trait Implementations§
impl RefUnwindSafe for XTS_AES
impl Send for XTS_AES
impl Sync for XTS_AES
impl Unpin for XTS_AES
impl UnwindSafe for XTS_AES
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