diff options
| author | huntc <[email protected]> | 2021-10-07 18:00:03 +1100 |
|---|---|---|
| committer | huntc <[email protected]> | 2021-10-09 11:25:18 +1100 |
| commit | cef6158c31794795f16099e3df4c9049b976dae6 (patch) | |
| tree | 28768a13d23793287785da0eda6c39d8a48f9156 /examples/std | |
| parent | 009b77c1b9874cccb9b2f81876f41e9c3d53f3a5 (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 'examples/std')
0 files changed, 0 insertions, 0 deletions
