nrf-pac

Crates

git

Versions

nrf54lm20a-app

Flavors

nrf_pac::cracencore

Struct Rngcontrol

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

Unspecified

Implementations§

Source§

impl Rngcontrol

Source

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

Source

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

Source

pub const fn control(self) -> Reg<RngcontrolControl, RW>

Control register

Source

pub const fn fifolevel(self) -> Reg<u32, RW>

FIFO level register.

Source

pub const fn fifothreshold(self) -> Reg<Fifothreshold, RW>

FIFO threshold register.

Source

pub const fn fifodepth(self) -> Reg<u32, RW>

FIFO depth register.

Source

pub const fn key(self, n: usize) -> Reg<u32, RW>

Description collection: Key register.

Source

pub const fn testdata(self) -> Reg<u32, RW>

Test data register.

Source

pub const fn repeatthreshold(self) -> Reg<Repeatthreshold, RW>

Repetition test cut-off register.

Source

pub const fn proptestcutoff(self) -> Reg<Proptestcutoff, RW>

Proportion test cut-off register.

Source

pub const fn lfsrseed(self) -> Reg<Lfsrseed, RW>

LFSR seed register.

Source

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

Status register.

Source

pub const fn warmupperiod(self) -> Reg<Warmupperiod, RW>

Number of clock cycles in warm-up sequence.

Source

pub const fn disableosc(self) -> Reg<u32, RW>

DisableOsc register.

Source

pub const fn samplingperiod(self) -> Reg<Samplingperiod, RW>

Number of clock cycles between sampling moments.

Source

pub const fn hwconfig(self) -> Reg<RngcontrolHwconfig, RW>

Hardware configuration register.

Source

pub const fn cooldownperiod(self) -> Reg<Cooldownperiod, RW>

Number of clock cycles in cool-down sequence.

Source

pub const fn autocorrtestcutoff0(self) -> Reg<Autocorrtestcutoff0, RW>

AutoCorrTestCutoff register 0

Source

pub const fn autocorrtestcutoff1(self) -> Reg<Autocorrtestcutoff1, RW>

AutoCorrTestCutoff register 1

Source

pub const fn corrtestcutoff0(self) -> Reg<Corrtestcutoff0, RW>

CorrTestCutoff register 0

Source

pub const fn corrtestcutoff1(self) -> Reg<Corrtestcutoff1, RW>

CorrTestCutoff register 1

Source

pub const fn autocorrtestfailed(self) -> Reg<u32, RW>

Auto-correlation test failing ring(s).

Source

pub const fn corrtestfailed(self) -> Reg<u32, RW>

Correlation test failing ring.

Source

pub const fn hwversion(self) -> Reg<u32, RW>

Fixed to 1 for this version.

Source

pub const fn fifo(self, n: usize) -> Reg<u32, R>

Description collection: FIFO data

Trait Implementations§

Source§

impl Clone for Rngcontrol

Source§

fn clone(&self) -> Rngcontrol

Returns a copy 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 Rngcontrol

Source§

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

Source§

impl Eq for Rngcontrol

Source§

impl Send for Rngcontrol

Source§

impl StructuralPartialEq for Rngcontrol

Source§

impl Sync for Rngcontrol

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, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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.