Merge pull request #4004 from johnkjellberg/main
Clarified ADC API documentation for some STM32s.
This commit is contained in:
commit
dbbdd5e388
@ -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}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user