aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Kjellberg <[email protected]>2025-03-25 11:10:51 +0100
committerJohn Kjellberg <[email protected]>2025-03-25 11:10:51 +0100
commit3e63a2e5df6e720c1582e32492d3d9302e34bc29 (patch)
tree1bbac8a8d7cdf6cb38488f1a0278be3f5bf65d32
parentf15a11f4d69ea905e9feb944969f6b1d1f134e63 (diff)
Clarified ADC API documentation for some STM32s.
-rw-r--r--embassy-stm32/src/adc/v3.rs3
1 files changed, 3 insertions, 0 deletions
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> {
262 /// 262 ///
263 /// `sequence` iterator and `readings` must have the same length. 263 /// `sequence` iterator and `readings` must have the same length.
264 /// 264 ///
265 /// Note: The order of values in `readings` is defined by the pin ADC
266 /// channel number and not the pin order in `sequence`.
267 ///
265 /// Example 268 /// Example
266 /// ```rust,ignore 269 /// ```rust,ignore
267 /// use embassy_stm32::adc::{Adc, AdcChannel} 270 /// use embassy_stm32::adc::{Adc, AdcChannel}