embassy/examples
huntc 98bdac51fe Improve nRF Saadc sampling
Starting the sampling task prior to starting the SAADC peripheral can lead to unexpected buffer behaviour with multiple channels. We now provide an init callback at the point where the SAADC has started for the first time. This callback can be used to kick off sampling via PPI.

We also need to trigger the SAADC to start sampling the next buffer when the previous one is ended so that we do not drop samples - the major benefit of double buffering.

As a bonus we provide a calibrate method as it is recommended to use before starting up the sampling.

The example has been updated to illustrate these new features.
2022-03-07 14:51:17 +11:00
..
boot Add embassy-boot 2022-02-09 10:50:29 +01:00
nrf Improve nRF Saadc sampling 2022-03-07 14:51:17 +11:00
rp rp: impl eh1.0 blocking traits 2022-02-15 17:29:05 +01:00
std embassy, embassy-nrf: add nightly Cargo feature to gate nightly-only features. 2022-02-12 01:16:31 +01:00
stm32f0 stm32: add rust stable support 2022-02-12 02:45:52 +01:00
stm32f1 stm32: add rust stable support 2022-02-12 02:45:52 +01:00
stm32f3 Improve logic for processing button events 2022-02-16 21:22:35 +01:00
stm32f4 [can] Do not use wildcard reexport for bxcan 2022-03-05 09:46:06 +01:00
stm32f7 stm32: add rust stable support 2022-02-12 02:45:52 +01:00
stm32g0 stm32: add rust stable support 2022-02-12 02:45:52 +01:00
stm32g4 stm32: add rust stable support 2022-02-12 02:45:52 +01:00
stm32h7 stm32: Register access for timers now doesn't require self 2022-02-28 16:20:42 +01:00
stm32l0 stm32: add rust stable support 2022-02-12 02:45:52 +01:00
stm32l1 stm32: add rust stable support 2022-02-12 02:45:52 +01:00
stm32l4 stm32: add rust stable support 2022-02-12 02:45:52 +01:00
stm32u5 stm32: add rust stable support 2022-02-12 02:45:52 +01:00
stm32wb55 stm32: add rust stable support 2022-02-12 02:45:52 +01:00
stm32wl55 stm32: add rust stable support 2022-02-12 02:45:52 +01:00
wasm embassy, embassy-nrf: add nightly Cargo feature to gate nightly-only features. 2022-02-12 01:16:31 +01:00