Steven Friedman
bbf2a641dd
remove Hz from log
2025-04-08 09:36:35 -04:00
Steven Friedman
3cb178e78e
Frequency display is now consistent
2025-04-08 09:17:54 -04:00
Dario Nieuwenhuis
1074cc7eaf
stm32/adc: enable interrupt for stm32f1
...
Co-Authored-By: Tnze <cjd001113@outlook.com>
2025-04-07 01:04:50 +02:00
elagil
ca8be1c976
fix: stm32g4 calibration delays
2025-03-29 22:01:54 +01:00
Dario Nieuwenhuis
d41eeeae79
Remove Peripheral trait, rename PeripheralRef->Peri.
2025-03-27 15:18:06 +01:00
John Kjellberg
3e63a2e5df
Clarified ADC API documentation for some STM32s.
2025-03-25 11:10:51 +01:00
Timofei Korostelev
8c6fa83006
Added ADC support for STM32C0.
2025-03-20 01:58:44 +01:00
Ivan Li
a3c1b18b02
feat: calibrating Differential ADC for G4
...
Signed-off-by: Ivan Li <ivanli2048@gmail.com>
2025-01-07 21:28:55 +08:00
elagil
eba8089601
chore: fix build
2025-01-03 18:18:00 +01:00
klownfish
41c8bf867b
fix formatting
2024-12-31 01:04:18 +01:00
klownfish
a5a90156ce
cleanup
2024-12-27 02:54:38 +01:00
klownfish
4f4740eeb2
add async read for u5 ADC4
2024-12-27 00:24:47 +01:00
Olof
7cf96e4730
Merge branch 'embassy-rs:main' into u5_adc
2024-12-18 01:48:25 +01:00
klownfish
8678911028
fix adc for u5
2024-12-18 01:46:53 +01:00
Ivan Li
54b39ba492
stm32 adc g4 async read
...
Signed-off-by: Ivan Li <ivanli2048@gmail.com>
2024-11-23 12:52:22 +08:00
Alexandros Liarokapis
d280b23428
fix adc/ringbuffered_v2.rs
2024-10-15 12:29:12 +03:00
Alexandros Liarokapis
c991ddb766
use request_pause instead of request_stop at adc shutdown
2024-10-15 12:29:12 +03:00
Alexandros Liarokapis
9c7b296432
overrun at invalid diffs, rename clear to reset, simplify dma_sync method
2024-10-15 12:29:12 +03:00
klownfish
7b45577704
fix warnings
2024-09-25 16:55:27 +02:00
klownfish
8c1b4faae1
resuse adc v4 for u5
2024-09-25 01:01:19 +02:00
klownfish
3ce40f41fb
WIP: add u5 adc4
2024-09-24 19:03:20 +02:00
klownfish
0fe9fa631a
WIP: add u5 adc
2024-09-17 18:42:26 +02:00
klownfish
f0a86d1a34
Merge branch 'main' of github.com:embassy-rs/embassy
2024-09-11 11:55:50 +02:00
klownfish
0ba91ca555
WIP: u5 adc
2024-09-11 11:55:16 +02:00
Dario Nieuwenhuis
c739091085
Update stm32-metapac.
2024-09-11 01:19:46 +02:00
Dario Nieuwenhuis
1ea29f1d2e
Merge pull request #3169 from Adancurusul/g4_dev
...
Add adc oversampling and adc differential for g4
2024-09-10 23:07:11 +00:00
Dario Nieuwenhuis
8884766450
stm32: update metapac
2024-08-17 21:57:40 +02:00
Dion Dokter
ab4d378dda
Merge branch 'master' into stm-dualcore
2024-08-05 11:21:21 +02:00
Dario Nieuwenhuis
2d678d6956
Update to Rust 1.80, make check-cfg unconditional.
2024-07-25 15:53:00 +02:00
Chen Yuheng
fd5501d455
delete unused "info!" and fmt
2024-07-11 15:34:34 +08:00
Chen Yuheng
f01ffbcc12
Add oversampling and differential for g4
2024-07-11 10:33:43 +08:00
Dion Dokter
6db0daf79b
Fix errors
2024-07-09 09:53:01 +02:00
Andres Vahter
f851081e09
stm32 adc: introduce blocking_read
2024-07-03 15:20:31 +03:00
Ulf Lilleengen
914d7c7919
Merge pull request #3128 from andresv/stm32-adc-dma-v3
...
STM32 ADC v3 and V4 DMA support
2024-07-03 08:13:26 +00:00
Ulf Lilleengen
ef78e3283b
Merge pull request #3143 from andresv/stm32-ringbuffered-adc-docs
...
stm32 ringbuffered adc docs
2024-07-03 07:33:10 +00:00
Ulf Lilleengen
b6f76b5ab2
Merge pull request #3110 from liarokapisv/adc_v4_averaging
...
stm32 - Adc v4 - Add averaging support.
2024-07-03 07:22:34 +00:00
Ulf Lilleengen
3e70601fc7
Merge pull request #3124 from Adancurusul/dev
...
Add adc oversampling support
2024-07-03 07:22:03 +00:00
Andres Vahter
d4ff7616f9
stm32 ringbuffered adc docs improvements
2024-07-02 17:35:15 +03:00
Andres Vahter
a4e62314af
stm32: adc v3: fix for newest pac
2024-07-02 17:15:22 +03:00
Andres Vahter
c120efad5b
stm32 adc read_async: add asserts for buf len
2024-07-02 17:07:18 +03:00
Andres Vahter
5e2fd8623a
stm32 adc v3 read_async
2024-07-02 17:07:18 +03:00
Alexandros Liarokapis
02b096915f
add asynchrous sequence read support to adc v4
2024-07-02 17:07:18 +03:00
Andres Vahter
dd69efe708
stm32 ringbuffered adc: add buf size assert
2024-07-02 16:56:19 +03:00
Andres Vahter
b88e1a5d71
stm32 ringbuffered adc docs
2024-07-02 16:53:49 +03:00
Andres Vahter
1f30ad595b
stm32 ringbuffered adc: fix for metapac changes
2024-07-02 09:21:27 +03:00
seth
27652798c7
fix typo, add spaces after //
2024-07-01 06:44:47 -07:00
Chen Yuheng
a0799bf270
Add adc oversampling support
2024-06-27 17:04:26 +08:00
seth
7056783fa2
second adc added to example + API todos completed
2024-06-24 17:53:59 -07:00
seth
f64dd8228b
new PR, taking Dirbao's advice to make the DMA impl in a separate struct that consumes Adc<T> to make RingBufferedAdc<T>. Handling overrun similar to RingBufferedUart
2024-06-24 17:09:43 -07:00
Alexandros Liarokapis
3883a5b2de
Enables adc v4 averaging support.
...
The Adc v4 peripheral includes a hardware oversampler.
This PR adds an averaging interface that keeps most of the current
interface backwards compatible while allowing for the common use-case
of hardware-averaging. A more comprehensive oversampler interface may
be exposed in the future.
2024-06-23 12:43:24 +03:00