pub struct Hashcrypt { /* private fields */ }Expand description
Hash-Crypt peripheral
Implementations§
Source§impl Hashcrypt
impl Hashcrypt
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn ctrl(self) -> Reg<Ctrl, RW>
pub const fn ctrl(self) -> Reg<Ctrl, RW>
Control register to enable and operate Hash and Crypto
Sourcepub const fn intenset(self) -> Reg<Intenset, RW>
pub const fn intenset(self) -> Reg<Intenset, RW>
Write 1 to enable interrupts; reads back with which are set.
Sourcepub const fn memaddr(self) -> Reg<Memaddr, RW>
pub const fn memaddr(self) -> Reg<Memaddr, RW>
Address to start memory access from (if available).
Sourcepub const fn config(self) -> Reg<Config, RW>
pub const fn config(self) -> Reg<Config, RW>
Returns the configuration of this block in this chip - indicates what services are available.
Trait Implementations§
impl Copy for Hashcrypt
impl Eq for Hashcrypt
impl Send for Hashcrypt
impl StructuralPartialEq for Hashcrypt
impl Sync for Hashcrypt
Auto Trait Implementations§
impl Freeze for Hashcrypt
impl RefUnwindSafe for Hashcrypt
impl Unpin for Hashcrypt
impl UnwindSafe for Hashcrypt
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