diff options
| author | Dario Nieuwenhuis <[email protected]> | 2025-03-25 10:38:30 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-03-25 10:38:30 +0000 |
| commit | dbbdd5e388d38525a883f5ee182c1b560d74cb59 (patch) | |
| tree | 1bbac8a8d7cdf6cb38488f1a0278be3f5bf65d32 | |
| parent | f15a11f4d69ea905e9feb944969f6b1d1f134e63 (diff) | |
| parent | 3e63a2e5df6e720c1582e32492d3d9302e34bc29 (diff) | |
Merge pull request #4004 from johnkjellberg/main
Clarified ADC API documentation for some STM32s.
| -rw-r--r-- | embassy-stm32/src/adc/v3.rs | 3 |
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} |
