Merge pull request #4004 from johnkjellberg/main

Clarified ADC API documentation for some STM32s.
This commit is contained in:
Dario Nieuwenhuis 2025-03-25 10:38:30 +00:00 committed by GitHub
commit dbbdd5e388
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -262,6 +262,9 @@ impl<'d, T: Instance> Adc<'d, T> {
/// ///
/// `sequence` iterator and `readings` must have the same length. /// `sequence` iterator and `readings` must have the same length.
/// ///
/// Note: The order of values in `readings` is defined by the pin ADC
/// channel number and not the pin order in `sequence`.
///
/// Example /// Example
/// ```rust,ignore /// ```rust,ignore
/// use embassy_stm32::adc::{Adc, AdcChannel} /// use embassy_stm32::adc::{Adc, AdcChannel}