From 3e63a2e5df6e720c1582e32492d3d9302e34bc29 Mon Sep 17 00:00:00 2001 From: John Kjellberg Date: Tue, 25 Mar 2025 11:10:51 +0100 Subject: [PATCH] Clarified ADC API documentation for some STM32s. --- embassy-stm32/src/adc/v3.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/embassy-stm32/src/adc/v3.rs b/embassy-stm32/src/adc/v3.rs index fc20974dd..7a608a44e 100644 --- a/embassy-stm32/src/adc/v3.rs +++ b/embassy-stm32/src/adc/v3.rs @@ -262,6 +262,9 @@ impl<'d, T: Instance> Adc<'d, T> { /// /// `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 /// ```rust,ignore /// use embassy_stm32::adc::{Adc, AdcChannel}