Skip to content

Commit

Permalink
TRNG/ADC on esp32c6 warning comment
Browse files Browse the repository at this point in the history
  • Loading branch information
playfulFence committed Jul 4, 2024
1 parent 7a91b2d commit c56db37
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions esp-hal/src/rng.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ impl rand_core::RngCore for Rng {
/// Due to pulling the entropy source from the ADC, it uses the associated
/// regiters, so to use TRNG we need to "occupy" the ADC peripheral.
///
/// For now, even after calling `core::mem::drop()` on `TRNG` ADC1 will not be
/// usable (details in esp-hal/#1750)
///
/// ```rust, no_run
#[doc = crate::before_snippet!()]
/// # use esp_hal::rng::Trng;
Expand Down

0 comments on commit c56db37

Please sign in to comment.