Home
last modified time | relevance | path

Searched refs:trng_hw (Results 1 – 2 of 2) sorted by relevance

/hal_rpi_pico-latest/src/rp2_common/pico_rand/
Drand.c127 uint32_t trng_sample_words[count_of(trng_hw->ehr_data)];
128 static_assert(count_of(trng_hw->ehr_data) >= 2 && count_of(trng_hw->ehr_data) < 255, "");
143 trng_hw->sample_cnt1 = 0; in capture_additional_trng_samples()
147 trng_hw->trng_debug_control = -1u; in capture_additional_trng_samples()
149 trng_hw->rnd_source_enable = -1u; in capture_additional_trng_samples()
152 trng_hw->rng_icr = -1u; in capture_additional_trng_samples()
155 while (trng_hw->trng_busy); in capture_additional_trng_samples()
158 trng_sample_words[i] = trng_hw->ehr_data[i]; in capture_additional_trng_samples()
165 trng_hw->trng_config = rng_state.r[0]; in capture_additional_trng_samples()
/hal_rpi_pico-latest/src/rp2350/hardware_structs/include/hardware/structs/
Dtrng.h149 #define trng_hw ((trng_hw_t *)(TRNG_BASE + TRNG_RNG_IMR_OFFSET)) macro