[][src]Type Definition lpc55s6x_pac::rng::counter_cfg::R

type R = R<u32, COUNTER_CFG>;

Reader of register COUNTER_CFG

Methods

impl R[src]

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

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

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

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

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

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

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

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

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

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