Struct esp32_hal::peripherals::SHA
source · pub struct SHA { /* private fields */ }
Implementations§
source§impl SHA
impl SHA
sourcepub unsafe fn steal() -> SHA
pub unsafe fn steal() -> SHA
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 text_iter(&self) -> impl Iterator<Item = &Reg<TEXT_SPEC>>
pub fn text_iter(&self) -> impl Iterator<Item = &Reg<TEXT_SPEC>>
Iterator for array of: 0x00..0x80 -
sourcepub fn sha1_start(&self) -> &Reg<SHA1_START_SPEC>
pub fn sha1_start(&self) -> &Reg<SHA1_START_SPEC>
0x80 -
sourcepub fn sha1_continue(&self) -> &Reg<SHA1_CONTINUE_SPEC>
pub fn sha1_continue(&self) -> &Reg<SHA1_CONTINUE_SPEC>
0x84 -
sourcepub fn sha1_load(&self) -> &Reg<SHA1_LOAD_SPEC>
pub fn sha1_load(&self) -> &Reg<SHA1_LOAD_SPEC>
0x88 -
sourcepub fn sha1_busy(&self) -> &Reg<SHA1_BUSY_SPEC>
pub fn sha1_busy(&self) -> &Reg<SHA1_BUSY_SPEC>
0x8c -
sourcepub fn sha256_start(&self) -> &Reg<SHA256_START_SPEC>
pub fn sha256_start(&self) -> &Reg<SHA256_START_SPEC>
0x90 -
sourcepub fn sha256_continue(&self) -> &Reg<SHA256_CONTINUE_SPEC>
pub fn sha256_continue(&self) -> &Reg<SHA256_CONTINUE_SPEC>
0x94 -
sourcepub fn sha256_load(&self) -> &Reg<SHA256_LOAD_SPEC>
pub fn sha256_load(&self) -> &Reg<SHA256_LOAD_SPEC>
0x98 -
sourcepub fn sha256_busy(&self) -> &Reg<SHA256_BUSY_SPEC>
pub fn sha256_busy(&self) -> &Reg<SHA256_BUSY_SPEC>
0x9c -
sourcepub fn sha384_start(&self) -> &Reg<SHA384_START_SPEC>
pub fn sha384_start(&self) -> &Reg<SHA384_START_SPEC>
0xa0 -
sourcepub fn sha384_continue(&self) -> &Reg<SHA384_CONTINUE_SPEC>
pub fn sha384_continue(&self) -> &Reg<SHA384_CONTINUE_SPEC>
0xa4 -
sourcepub fn sha384_load(&self) -> &Reg<SHA384_LOAD_SPEC>
pub fn sha384_load(&self) -> &Reg<SHA384_LOAD_SPEC>
0xa8 -
sourcepub fn sha384_busy(&self) -> &Reg<SHA384_BUSY_SPEC>
pub fn sha384_busy(&self) -> &Reg<SHA384_BUSY_SPEC>
0xac -
sourcepub fn sha512_start(&self) -> &Reg<SHA512_START_SPEC>
pub fn sha512_start(&self) -> &Reg<SHA512_START_SPEC>
0xb0 -
sourcepub fn sha512_continue(&self) -> &Reg<SHA512_CONTINUE_SPEC>
pub fn sha512_continue(&self) -> &Reg<SHA512_CONTINUE_SPEC>
0xb4 -
sourcepub fn sha512_load(&self) -> &Reg<SHA512_LOAD_SPEC>
pub fn sha512_load(&self) -> &Reg<SHA512_LOAD_SPEC>
0xb8 -
sourcepub fn sha512_busy(&self) -> &Reg<SHA512_BUSY_SPEC>
pub fn sha512_busy(&self) -> &Reg<SHA512_BUSY_SPEC>
0xbc -
Trait Implementations§
source§impl Peripheral for SHA
impl Peripheral for SHA
Auto Trait Implementations§
impl RefUnwindSafe for SHA
impl Send for SHA
impl Sync for SHA
impl Unpin for SHA
impl UnwindSafe for SHA
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