[][src]Struct lpc55s6x_pac::rng::counter_cfg::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

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

Writes raw bits to the register

pub fn mode(&mut self) -> _MODEW[src]

Bits 0:1 - 00: disabled 01: update once.

pub fn clock_sel(&mut self) -> _CLOCK_SELW[src]

Bits 2:4 - Selects the internal clock on which to compute statistics.

pub fn shift4x(&mut self) -> _SHIFT4XW[src]

Bits 5:7 - To be used to add precision to clock_ratio and determine 'entropy refill'.

pub fn dis_enh_entr_refill(&mut self) -> _DIS_ENH_ENTR_REFILLW[src]

Bit 8 - Disable 'enhanced entropy refill' feature, which is enabled by default when 'mode' > 00.

pub fn force_entr_spreading(&mut self) -> _FORCE_ENTR_SPREADINGW[src]

Bit 9 - Forces entropy spreading (interactions between RNGs) even when 'clock_sel'>0.

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From<T> for 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> Into<U> for T where
    U: From<T>, 
[src]

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.

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

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

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

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

type Output = T

Should always be Self