Dario Nieuwenhuis
|
72c6f9a101
|
stm32/adc: reexport enums from PAC to avoid boilerplate hell.
|
2024-02-26 03:02:58 +01:00 |
|
Torin Cooper-Bennun
|
5d2ccc8fa7
|
adc: basic H5 support
|
2024-02-22 15:50:13 +00:00 |
|
shufps
|
34c71b58cf
|
made adc example working with default clock configuration and switched in v1 to PCLK/2 per default
|
2024-02-08 11:28:53 +01:00 |
|
shufps
|
dabe48c3bd
|
fmt
|
2024-02-08 11:15:28 +01:00 |
|
shufps
|
8d0a9bbefb
|
clippy
|
2024-02-08 11:14:14 +01:00 |
|
shufps
|
ab8f25fd78
|
added support for ADC of L0s
|
2024-02-08 10:47:26 +01:00 |
|
Dario Nieuwenhuis
|
9866847375
|
stm32: autogenerate clocks struct, enable mux for all chips.
|
2024-02-02 23:24:34 +01:00 |
|
Joonas Javanainen
|
7e0f287431
|
Fix ADC max frequency for F2
|
2024-02-01 21:58:36 +02:00 |
|
Joonas Javanainen
|
21024e8638
|
Fix F2 temperature sensor ADC channel
On all F2 devices (F205/207/215/217) the sensor is connected to
ADC1_IN16, and is not shared with VBAT which is connected to ADC1_IN18.
|
2024-02-01 21:48:29 +02:00 |
|
Henk Oordt
|
45b7645525
|
Make adc::Resolution::to_max_count const
|
2024-01-08 13:56:21 +01:00 |
|
Dario Nieuwenhuis
|
03ba4ae386
|
stm32: update metapac.
|
2024-01-03 18:39:22 +01:00 |
|
Dario Nieuwenhuis
|
49534cd405
|
stm32: more docs.
|
2023-12-19 00:10:36 +01:00 |
|
Dario Nieuwenhuis
|
124478c5e9
|
stm32: more docs.
|
2023-12-18 19:11:23 +01:00 |
|
Dario Nieuwenhuis
|
80c9d04bbd
|
stm32: add some docs.
|
2023-12-18 00:53:18 +01:00 |
|
Dario Nieuwenhuis
|
c27459c052
|
Update stm32-metapac.
|
2023-12-08 20:07:59 +01:00 |
|
Dario Nieuwenhuis
|
881cb16d28
|
stm32/adc: move convert resolution from PAC to version-specific mod.
|
2023-12-08 20:07:06 +01:00 |
|
Sam Mason
|
35f16c6003
|
stm32: add ADC f3_v1_1
|
2023-12-04 14:03:31 +11:00 |
|
pbert
|
ecdd7c0e2f
|
enable clock first
|
2023-10-12 11:04:44 +02:00 |
|
pbert
|
d7d79f3068
|
Remove workaround for adc v3
|
2023-10-12 11:04:20 +02:00 |
|
pbert
|
f65a96c541
|
STM32: combine RccPeripherals reset() and enable() to reset_and_enable()
|
2023-10-12 11:04:19 +02:00 |
|
xoviat
|
79146c4bd5
|
stm32/adc: cleanup f1, f3, v1, and v2
|
2023-09-27 20:58:46 -05:00 |
|
xoviat
|
d46920dce6
|
stm32/adc: make v1 async and leave en
|
2023-09-20 16:07:35 -05:00 |
|
xoviat
|
e640933e2f
|
stm32/adc: add async conversion
|
2023-09-18 16:31:20 -05:00 |
|
xoviat
|
aa2fa29b89
|
stm32: fix adc f3 startup time
closes #1888.
|
2023-09-15 17:36:21 -05:00 |
|
xoviat
|
c28a6bdd0b
|
stm32: generate adc_common
|
2023-09-15 17:35:53 -05:00 |
|
xoviat
|
309c3d6b47
|
update metapac
|
2023-09-14 18:36:03 -05:00 |
|
xoviat
|
d36e7abb71
|
adc/f3: fix delay calculation
|
2023-09-11 18:52:52 -05:00 |
|
xoviat
|
44a5c32ea4
|
adc/f3: fix startup bug
|
2023-09-11 17:27:47 -05:00 |
|
xoviat
|
b9889ad3b5
|
stm32: add g4 adc345 and misc.
|
2023-09-11 17:12:54 -05:00 |
|
xoviat
|
08415e001e
|
stm32/f3: add high res for hrtim and misc.
|
2023-09-10 13:33:17 -05:00 |
|
xoviat
|
70a4a193c5
|
stm32: fix adc f3 and example
|
2023-09-09 22:01:51 -05:00 |
|
Olle Sandberg
|
0d3ff34d80
|
adc: enable ADC and clock selection for STM32WLx
|
2023-09-06 06:57:30 +02:00 |
|
Olle Sandberg
|
bb2d6c8542
|
adc_v3: replace cfg(stm32g0) + friends with cfg(adc_g0)
Since any MCU (not just STM32G0) using adc_g0 should probably be handled the same way.
|
2023-09-06 06:57:28 +02:00 |
|
xoviat
|
7307098780
|
stm32: don't generate adc5
|
2023-09-05 17:50:45 -05:00 |
|
xoviat
|
f4601af2a4
|
stm32: don't generate adc4 for g4
|
2023-09-05 17:48:20 -05:00 |
|
xoviat
|
fd22f4fac5
|
stm32: remove paste and use refcount statics
|
2023-09-05 17:45:52 -05:00 |
|
xoviat
|
7622d2eb61
|
stm32: fix merge issues
|
2023-09-05 17:10:15 -05:00 |
|
xoviat
|
7573160077
|
Merge branch 'main' of https://github.com/embassy-rs/embassy into adc-g4
|
2023-09-05 17:02:28 -05:00 |
|
xoviat
|
f502271940
|
stm32: add initial adc f3 impl
|
2023-09-05 16:46:57 -05:00 |
|
Daehyeok Mun
|
49ba9c3da2
|
initial support for STM32G4 ADC
|
2023-09-04 23:36:41 -07:00 |
|
Dario Nieuwenhuis
|
cc400aa178
|
stm32: fix f37x build.
originally broke in https://github.com/embassy-rs/embassy/pull/1762
|
2023-08-19 01:15:32 +02:00 |
|
Dario Nieuwenhuis
|
036e6ae30c
|
Rename embassy-hal-common to embassy-hal-internal, document it's for internal use only. (#1700)
|
2023-07-28 13:23:22 +02:00 |
|
xoviat
|
ba8e5d8589
|
rustfmt
|
2023-07-22 12:10:50 -05:00 |
|
xoviat
|
192cdc2f85
|
stm32: suppress adc f3
|
2023-07-22 12:07:02 -05:00 |
|
Dario Nieuwenhuis
|
e892014b65
|
Update stm32-metapac, includes chiptool changes to use real Rust enums now.
|
2023-06-29 02:01:33 +02:00 |
|
Dario Nieuwenhuis
|
558918651e
|
stm32: update stm32-metapac.
|
2023-06-19 03:22:12 +02:00 |
|
Grant Miller
|
0ef419bee4
|
Change ADC1 to ADC
|
2023-04-05 16:52:32 -05:00 |
|
Grant Miller
|
92e96bd601
|
Fix typo
|
2023-04-05 16:38:06 -05:00 |
|
Grant Miller
|
20e7b5e296
|
InternalChannel
|
2023-04-05 16:11:21 -05:00 |
|
Grant Miller
|
37d8f2e512
|
Properly enable and reset adc
|
2023-04-05 15:28:42 -05:00 |
|