From c0b7fd910e5663242d9320dd9893dbc1844b2729 Mon Sep 17 00:00:00 2001 From: huntc Date: Tue, 30 Aug 2022 09:49:04 +1000 Subject: [PATCH] Additional doco --- embassy-nrf/src/saadc.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/embassy-nrf/src/saadc.rs b/embassy-nrf/src/saadc.rs index 43c98a88..69926ec0 100644 --- a/embassy-nrf/src/saadc.rs +++ b/embassy-nrf/src/saadc.rs @@ -224,6 +224,8 @@ impl<'d, const N: usize> Saadc<'d, N> { } /// One shot sampling. The buffer must be the same size as the number of channels configured. + /// The sampling is stopped prior to returning in order to reduce power consumption (power + /// consumption remains higher if sampling is not stopped explicitly). pub async fn sample(&mut self, buf: &mut [i16; N]) { let r = Self::regs();