pub fn new(rng: RNG<'_>, adc: ADC1<'d>) -> Self {
        let r#gen = Rng::new(rng);
        crate::soc::trng::ensure_randomness();
        Self {
            rng: r#gen,
            _adc: adc,
        }
    }
Creates a new True Random Number Generator (TRNG) instance.

# Arguments

* `rng` - A peripheral instance implementing the `RNG` trait.
* `adc` - A mutable reference to an `Adc` instance.

# Returns

Returns a new `Trng` instance.
esp-hal/src/rng.rs