Struct imxrt_hal::trng::Unclocked [−][src]
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]
&mut self,
retry_count: u32
) -> Result<(), InvalidRetryCountError>
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
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,