aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorhuntc <[email protected]>2021-10-07 18:00:03 +1100
committerhuntc <[email protected]>2021-10-09 11:25:18 +1100
commitcef6158c31794795f16099e3df4c9049b976dae6 (patch)
tree28768a13d23793287785da0eda6c39d8a48f9156 /README.md
parent009b77c1b9874cccb9b2f81876f41e9c3d53f3a5 (diff)
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 13bcf6e5b..f8898dcd6 100644
--- a/README.md
+++ b/README.md
@@ -35,6 +35,8 @@ The `embassy-nrf` crate contains implementations for nRF 52 series SoCs.
35- `uarte`: UARTE driver implementing `AsyncBufRead` and `AsyncWrite`. 35- `uarte`: UARTE driver implementing `AsyncBufRead` and `AsyncWrite`.
36- `qspi`: QSPI driver implementing `Flash`. 36- `qspi`: QSPI driver implementing `Flash`.
37- `gpiote`: GPIOTE driver. Allows `await`ing GPIO pin changes. Great for reading buttons or receiving interrupts from external chips. 37- `gpiote`: GPIOTE driver. Allows `await`ing GPIO pin changes. Great for reading buttons or receiving interrupts from external chips.
38- `saadc`: SAADC driver. Provides a full implementation of the one-shot sampling for analog channels.
39
38- `rtc`: RTC driver implementing `Clock` and `Alarm`, for use with `embassy::executor`. 40- `rtc`: RTC driver implementing `Clock` and `Alarm`, for use with `embassy::executor`.
39 41
40## Examples 42## Examples