summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/devices/mode/continuous.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/devices/mode/continuous.rs b/src/devices/mode/continuous.rs
index cb4757c..66951dd 100644
--- a/src/devices/mode/continuous.rs
+++ b/src/devices/mode/continuous.rs
@@ -56,6 +56,10 @@ where
CONV: conversion::ConvertMeasurement,
{
/// Select the channel for measurements.
+ ///
+ /// Note that when changing the channel in continuous conversion mode, the
+ /// ongoing conversion will be completed.
+ /// The following conversions will use the new channel configuration.
pub fn select_channel<CH>(&mut self, _channel: &mut CH) -> Result<(), Error<E>>
where
CH: hal::adc::Channel<Ads1x1x<DI, IC, CONV, mode::OneShot>, ID = ChannelSelection>,