From b226a3605f3b83f88581111723f527aae30fa34c Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Sat, 30 Mar 2019 12:00:09 +0200 Subject: Improve documentation of changing channel in continuous conversion mode. --- src/devices/mode/continuous.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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(&mut self, _channel: &mut CH) -> Result<(), Error> where CH: hal::adc::Channel, ID = ChannelSelection>, -- cgit v1.2.3-54-g00ecf