nxp-pac

Crates

git

Versions

mimxrt1064

Flavors

Trng

Struct Trng 

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

TRNG

Implementations§

Source§

impl Trng

Source

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

Source

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

Source

pub const fn mctl(self) -> Reg<Mctl, RW>

Miscellaneous Control Register

Source

pub const fn scmisc(self) -> Reg<Scmisc, RW>

Statistical Check Miscellaneous Register

Source

pub const fn pkrrng(self) -> Reg<Pkrrng, RW>

Poker Range Register

Source

pub const fn pkrmax(self) -> Reg<Pkrmax, RW>

Poker Maximum Limit Register

Source

pub const fn pkrsq(self) -> Reg<Pkrsq, R>

Poker Square Calculation Result Register

Source

pub const fn sdctl(self) -> Reg<Sdctl, RW>

Seed Control Register

Source

pub const fn sblim(self) -> Reg<Sblim, RW>

Sparse Bit Limit Register

Source

pub const fn totsam(self) -> Reg<Totsam, R>

Total Samples Register

Source

pub const fn frqmin(self) -> Reg<Frqmin, RW>

Frequency Count Minimum Limit Register

Source

pub const fn frqcnt(self) -> Reg<Frqcnt, R>

Frequency Count Register

Source

pub const fn frqmax(self) -> Reg<Frqmax, RW>

Frequency Count Maximum Limit Register

Source

pub const fn scmc(self) -> Reg<Scmc, R>

Statistical Check Monobit Count Register

Source

pub const fn scml(self) -> Reg<Scml, RW>

Statistical Check Monobit Limit Register

Source

pub const fn scr1c(self) -> Reg<Scr1c, R>

Statistical Check Run Length 1 Count Register

Source

pub const fn scr1l(self) -> Reg<Scr1l, RW>

Statistical Check Run Length 1 Limit Register

Source

pub const fn scr2c(self) -> Reg<Scr2c, R>

Statistical Check Run Length 2 Count Register

Source

pub const fn scr2l(self) -> Reg<Scr2l, RW>

Statistical Check Run Length 2 Limit Register

Source

pub const fn scr3c(self) -> Reg<Scr3c, R>

Statistical Check Run Length 3 Count Register

Source

pub const fn scr3l(self) -> Reg<Scr3l, RW>

Statistical Check Run Length 3 Limit Register

Source

pub const fn scr4c(self) -> Reg<Scr4c, R>

Statistical Check Run Length 4 Count Register

Source

pub const fn scr4l(self) -> Reg<Scr4l, RW>

Statistical Check Run Length 4 Limit Register

Source

pub const fn scr5c(self) -> Reg<Scr5c, R>

Statistical Check Run Length 5 Count Register

Source

pub const fn scr5l(self) -> Reg<Scr5l, RW>

Statistical Check Run Length 5 Limit Register

Source

pub const fn scr6pc(self) -> Reg<Scr6pc, R>

Statistical Check Run Length 6+ Count Register

Source

pub const fn scr6pl(self) -> Reg<Scr6pl, RW>

Statistical Check Run Length 6+ Limit Register

Source

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

Status Register

Source

pub const fn ent(self, n: usize) -> Reg<Ent, R>

Entropy Read Register

Source

pub const fn pkrcnt10(self) -> Reg<Pkrcnt10, R>

Statistical Check Poker Count 1 and 0 Register

Source

pub const fn pkrcnt32(self) -> Reg<Pkrcnt32, R>

Statistical Check Poker Count 3 and 2 Register

Source

pub const fn pkrcnt54(self) -> Reg<Pkrcnt54, R>

Statistical Check Poker Count 5 and 4 Register

Source

pub const fn pkrcnt76(self) -> Reg<Pkrcnt76, R>

Statistical Check Poker Count 7 and 6 Register

Source

pub const fn pkrcnt98(self) -> Reg<Pkrcnt98, R>

Statistical Check Poker Count 9 and 8 Register

Source

pub const fn pkrcntba(self) -> Reg<Pkrcntba, R>

Statistical Check Poker Count B and A Register

Source

pub const fn pkrcntdc(self) -> Reg<Pkrcntdc, R>

Statistical Check Poker Count D and C Register

Source

pub const fn pkrcntfe(self) -> Reg<Pkrcntfe, R>

Statistical Check Poker Count F and E Register

Source

pub const fn sec_cfg(self) -> Reg<SecCfg, RW>

Security Configuration Register

Source

pub const fn int_ctrl(self) -> Reg<IntCtrl, RW>

Interrupt Control Register

Source

pub const fn int_mask(self) -> Reg<IntMask, RW>

Mask Register

Source

pub const fn int_status(self) -> Reg<IntStatus, R>

Interrupt Status Register

Source

pub const fn vid1(self) -> Reg<Vid1, R>

Version ID Register (MS)

Source

pub const fn vid2(self) -> Reg<Vid2, R>

Version ID Register (LS)

Trait Implementations§

Source§

impl Clone for Trng

Source§

fn clone(&self) -> Trng

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 Trng

Source§

fn eq(&self, other: &Trng) -> 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 Trng

Source§

impl Eq for Trng

Source§

impl Send for Trng

Source§

impl StructuralPartialEq for Trng

Source§

impl Sync for Trng

Auto Trait Implementations§

§

impl Freeze for Trng

§

impl RefUnwindSafe for Trng

§

impl Unpin for Trng

§

impl UnwindSafe for Trng

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.