pub(crate) fn revert_trng() {
    let system = crate::peripherals::SYSTEM::regs();
    let apb_saradc = crate::peripherals::APB_SARADC::regs();
    let sens = crate::peripherals::SENS::regs();

    unsafe {
        regi2c::ADC_SAR1_ENCAL_REF.write_field(0);
        regi2c::ADC_SAR_ENT_TSENS.write_field(0);
        regi2c::ADC_SAR_ENT_RTC.write_field(0);
        regi2c::ADC_SAR_DTEST_RTC.write_field(0);

        sens.sar_power_xpd_sar()
            .modify(|_, w| w.force_xpd_sar().bits(0));

        apb_saradc.ctrl2().modify(|_, w| w.timer_en().clear_bit());

        system
            .perip_clk_en0()
            .modify(|_, w| w.apb_saradc_clk_en().clear_bit());

        system
            .perip_rst_en0()
            .modify(|_, w| w.apb_saradc_rst().set_bit());
    }
}
Disable true randomness. Unlocks `ADC` peripheral.
esp-hal/src/soc/esp32s3/trng.rs