Additional doco
This commit is contained in:
parent
9a873d1dbf
commit
c0b7fd910e
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user