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

type W = W<u32, COUNTER_CFG>;

Writer for register COUNTER_CFG

Methods

impl W[src]

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

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

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

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

pub fn shift4x(&mut self) -> SHIFT4X_W[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_REFILL_W[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_SPREADING_W[src]

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