Struct imxrt_hal::trng::Unclocked[][src]

pub struct Unclocked { /* fields omitted */ }

The TRNG, not yet enabled.

Implementations

impl Unclocked[src]

pub fn set_sample_mode(&mut self, mode: SampleMode)[src]

Set the SampleMode.

pub fn set_retry_count(
    &mut self,
    retry_count: u32
) -> Result<(), InvalidRetryCountError>
[src]

Set the number of times to retry after a test failure before an error is declared.

Valid range 1..=15. Defaults to 1.

pub fn clock(self, ccm: &mut Handle) -> TRNG[src]

Clock and configure the True Random Number Generator with default settings, plus the settings contained in this Unclocked struct.

Auto Trait Implementations

impl Send for Unclocked

impl !Sync for Unclocked

impl Unpin for Unclocked

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.