[][src]Struct imxrt1062_trng::W

pub struct W<U, REG> { /* fields omitted */ }

Register writer

Used as an argument to the closures in the write and modify methods of the register

Methods

impl<U, REG> W<U, REG>[src]

pub unsafe fn bits(&mut self, bits: U) -> &mut Self[src]

Writes raw bits to the register

impl W<u32, Reg<u32, _MCTL>>[src]

pub fn samp_mode(&mut self) -> SAMP_MODE_W[src]

Bits 0:1 - Sample Mode

pub fn osc_div(&mut self) -> OSC_DIV_W[src]

Bits 2:3 - Oscillator Divide

pub fn rst_def(&mut self) -> RST_DEF_W[src]

Bit 6 - Reset Defaults

pub fn for_sclk(&mut self) -> FOR_SCLK_W[src]

Bit 7 - Force System Clock

pub fn err(&mut self) -> ERR_W[src]

Bit 12 - Read: Error status

pub fn lrun_cont(&mut self) -> LRUN_CONT_W[src]

Bit 14 - Long run count continues between entropy generations

pub fn prgm(&mut self) -> PRGM_W[src]

Bit 16 - Programming Mode Select

impl W<u32, Reg<u32, _SCMISC>>[src]

pub fn lrun_max(&mut self) -> LRUN_MAX_W[src]

Bits 0:7 - LONG RUN MAX LIMIT

pub fn rty_ct(&mut self) -> RTY_CT_W[src]

Bits 16:19 - RETRY COUNT

impl W<u32, Reg<u32, _PKRRNG>>[src]

pub fn pkr_rng(&mut self) -> PKR_RNG_W[src]

Bits 0:15 - Poker Range

impl W<u32, Reg<u32, _PKRMAX>>[src]

pub fn pkr_max(&mut self) -> PKR_MAX_W[src]

Bits 0:23 - Poker Maximum Limit.

impl W<u32, Reg<u32, _SDCTL>>[src]

pub fn samp_size(&mut self) -> SAMP_SIZE_W[src]

Bits 0:15 - Sample Size

pub fn ent_dly(&mut self) -> ENT_DLY_W[src]

Bits 16:31 - Entropy Delay

impl W<u32, Reg<u32, _SBLIM>>[src]

pub fn sb_lim(&mut self) -> SB_LIM_W[src]

Bits 0:9 - Sparse Bit Limit

impl W<u32, Reg<u32, _FRQMIN>>[src]

pub fn frq_min(&mut self) -> FRQ_MIN_W[src]

Bits 0:21 - Frequency Count Minimum Limit

impl W<u32, Reg<u32, _FRQMAX>>[src]

pub fn frq_max(&mut self) -> FRQ_MAX_W[src]

Bits 0:21 - Frequency Counter Maximum Limit

impl W<u32, Reg<u32, _SCML>>[src]

pub fn mono_max(&mut self) -> MONO_MAX_W[src]

Bits 0:15 - Monobit Maximum Limit

pub fn mono_rng(&mut self) -> MONO_RNG_W[src]

Bits 16:31 - Monobit Range

impl W<u32, Reg<u32, _SCR1L>>[src]

pub fn run1_max(&mut self) -> RUN1_MAX_W[src]

Bits 0:14 - Run Length 1 Maximum Limit

pub fn run1_rng(&mut self) -> RUN1_RNG_W[src]

Bits 16:30 - Run Length 1 Range

impl W<u32, Reg<u32, _SCR2L>>[src]

pub fn run2_max(&mut self) -> RUN2_MAX_W[src]

Bits 0:13 - Run Length 2 Maximum Limit

pub fn run2_rng(&mut self) -> RUN2_RNG_W[src]

Bits 16:29 - Run Length 2 Range

impl W<u32, Reg<u32, _SCR3L>>[src]

pub fn run3_max(&mut self) -> RUN3_MAX_W[src]

Bits 0:12 - Run Length 3 Maximum Limit

pub fn run3_rng(&mut self) -> RUN3_RNG_W[src]

Bits 16:28 - Run Length 3 Range

impl W<u32, Reg<u32, _SCR4L>>[src]

pub fn run4_max(&mut self) -> RUN4_MAX_W[src]

Bits 0:11 - Run Length 4 Maximum Limit

pub fn run4_rng(&mut self) -> RUN4_RNG_W[src]

Bits 16:27 - Run Length 4 Range

impl W<u32, Reg<u32, _SCR5L>>[src]

pub fn run5_max(&mut self) -> RUN5_MAX_W[src]

Bits 0:10 - Run Length 5 Maximum Limit

pub fn run5_rng(&mut self) -> RUN5_RNG_W[src]

Bits 16:26 - Run Length 5 Range

impl W<u32, Reg<u32, _SCR6PL>>[src]

pub fn run6p_max(&mut self) -> RUN6P_MAX_W[src]

Bits 0:10 - Run Length 6+ Maximum Limit

pub fn run6p_rng(&mut self) -> RUN6P_RNG_W[src]

Bits 16:26 - Run Length 6+ Range

impl W<u32, Reg<u32, _SEC_CFG>>[src]

pub fn unused0(&mut self) -> UNUSED0_W[src]

Bit 0 - This bit is unused. Ignore.

pub fn no_prgm(&mut self) -> NO_PRGM_W[src]

Bit 1 - If set, the TRNG registers cannot be programmed

pub fn unused2(&mut self) -> UNUSED2_W[src]

Bit 2 - This bit is unused. Ignore.

impl W<u32, Reg<u32, _INT_CTRL>>[src]

pub fn hw_err(&mut self) -> HW_ERR_W[src]

Bit 0 - Bit position that can be cleared if corresponding bit of INT_STATUS register has been asserted.

pub fn ent_val(&mut self) -> ENT_VAL_W[src]

Bit 1 - Same behavior as bit 0 of this register.

pub fn frq_ct_fail(&mut self) -> FRQ_CT_FAIL_W[src]

Bit 2 - Same behavior as bit 0 of this register.

impl W<u32, Reg<u32, _INT_MASK>>[src]

pub fn hw_err(&mut self) -> HW_ERR_W[src]

Bit 0 - Bit position that can be cleared if corresponding bit of INT_STATUS has been asserted.

pub fn ent_val(&mut self) -> ENT_VAL_W[src]

Bit 1 - Same behavior as bit 0 of this register.

pub fn frq_ct_fail(&mut self) -> FRQ_CT_FAIL_W[src]

Bit 2 - Same behavior as bit 0 of this register.

Auto Trait Implementations

impl<U, REG> Send for W<U, REG> where
    REG: Send,
    U: Send

impl<U, REG> Sync for W<U, REG> where
    REG: Sync,
    U: Sync

impl<U, REG> Unpin for W<U, REG> where
    REG: Unpin,
    U: Unpin

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, 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.