[][src]Type Definition lpc55_pac::rng::online_test_cfg::R

type R = R<u32, ONLINE_TEST_CFG>;

Reader of register ONLINE_TEST_CFG

Implementations

impl R[src]

pub fn activate(&self) -> ACTIVATE_R[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(&self) -> DATA_SEL_R[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.