summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorhuntc <huntchr@gmail.com>2021-10-07 18:00:03 +1100
committerhuntc <huntchr@gmail.com>2021-10-09 11:25:18 +1100
commitcef6158c31794795f16099e3df4c9049b976dae6 (patch)
tree28768a13d23793287785da0eda6c39d8a48f9156 /README.md
parent009b77c1b9874cccb9b2f81876f41e9c3d53f3a5 (diff)
downloadembassy-cef6158c31794795f16099e3df4c9049b976dae6.zip
Extend SAADC one shot support
One-shot mode now permits the sampling of differential pins, and the sampling of multiple pins simultaneously. A new ChannelConfig structure has been introduced so that multiple channels can be configured individually. Further, the `sample` method now accepts a buffer into which samples are written. Along the way, I've reset some default configuration to align with Nordic's settings in their nrfx saadc driver. Specifically, the channel gain defaults to 6 (from 4) and the time defaults to 10us (from 20us).
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 13bcf6e5..f8898dcd 100644
--- a/README.md
+++ b/README.md
@@ -35,6 +35,8 @@ The `embassy-nrf` crate contains implementations for nRF 52 series SoCs.
- `uarte`: UARTE driver implementing `AsyncBufRead` and `AsyncWrite`.
- `qspi`: QSPI driver implementing `Flash`.
- `gpiote`: GPIOTE driver. Allows `await`ing GPIO pin changes. Great for reading buttons or receiving interrupts from external chips.
+- `saadc`: SAADC driver. Provides a full implementation of the one-shot sampling for analog channels.
+
- `rtc`: RTC driver implementing `Clock` and `Alarm`, for use with `embassy::executor`.
## Examples