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

type W = W<u32, ONLINE_TEST_CFG>;

Writer for register ONLINE_TEST_CFG

Methods

impl W[src]

pub fn activate(&mut self) -> ACTIVATE_W[src]

Bit 0 - 0: disabled 1: activated Update rythm for VAL depends on COUNTER_CFG if data_sel is set to COUNTER.

pub fn data_sel(&mut self) -> DATA_SEL_W[src]

Bits 1:2 - Selects source on which to apply online test: 00: LSB of COUNTER: raw data from one or all sources of entropy 01: MSB of COUNTER: raw data from one or all sources of entropy 10: RANDOM_NUMBER 11: ENCRYPTED_NUMBER 'activate' should be set to 'disabled' before changing this field.