nxp-pac

Crates

git

Versions

mimxrt685s_cm33

Flavors

Hashcrypt

Struct Hashcrypt 

Source
pub struct Hashcrypt { /* private fields */ }
Expand description

LPC-Next0 Hash-Crypt peripheral

Implementations§

Source§

impl Hashcrypt

Source

pub const unsafe fn from_ptr(ptr: *mut ()) -> Self

Source

pub const fn as_ptr(&self) -> *mut ()

Source

pub const fn ctrl(self) -> Reg<Ctrl, RW>

Control register to enable and operate Hash and Crypto

Source

pub const fn status(self) -> Reg<Status, RW>

Indicates status of Hash peripheral.

Source

pub const fn intenset(self) -> Reg<Intenset, RW>

Write 1 to enable interrupts; reads back with which are set.

Source

pub const fn intenclr(self) -> Reg<Intenclr, RW>

Write 1 to clear interrupts.

Source

pub const fn memctrl(self) -> Reg<Memctrl, RW>

Setup Master to access memory (if available)

Source

pub const fn memaddr(self) -> Reg<Memaddr, RW>

Address to start memory access from (if available).

Source

pub const fn indata(self) -> Reg<Indata, W>

Input of 16 words at a time to load up buffer.

Source

pub const fn alias(self, n: usize) -> Reg<Alias, W>

no description available

Source

pub const fn digest0(self, n: usize) -> Reg<Digest0, R>

no description available

Source

pub const fn cryptcfg(self) -> Reg<Cryptcfg, RW>

Crypto settings for AES and Salsa and ChaCha

Source

pub const fn config(self) -> Reg<Config, RW>

Returns the configuration of this block in this chip - indicates what services are available.

Source

pub const fn lock(self) -> Reg<Lock, RW>

Lock register allows locking to the current security level or unlocking by the lock holding level.

Source

pub const fn mask(self, n: usize) -> Reg<Mask, W>

no description available

Source

pub const fn reload(self, n: usize) -> Reg<Reload, W>

no description available

Source

pub const fn prng_seed(self) -> Reg<PrngSeed, W>

PRNG random seed input value used as an entropy source

Source

pub const fn prng_out(self) -> Reg<PrngOut, R>

PRNG software-accessable random output value

Trait Implementations§

Source§

impl Clone for Hashcrypt

Source§

fn clone(&self) -> Hashcrypt

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl PartialEq for Hashcrypt

Source§

fn eq(&self, other: &Hashcrypt) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Hashcrypt

Source§

impl Eq for Hashcrypt

Source§

impl Send for Hashcrypt

Source§

impl StructuralPartialEq for Hashcrypt

Source§

impl Sync for Hashcrypt

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.