| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | stm32: fix misc. adc4 issues | xoviat | 2025-12-12 | 1 | -3/+5 |
| | | |||||
| * | adc: type-erase regs instance | xoviat | 2025-12-06 | 1 | -41/+35 |
| | | |||||
| * | Merge branch 'main' into fix/adc-prescaler-calc | xoviat | 2025-11-15 | 1 | -365/+197 |
| |\ | |||||
| | * | remove allow dead_code | xoviat | 2025-11-13 | 1 | -0/+1 |
| | | | |||||
| | * | adc: extract prescalers | xoviat | 2025-11-13 | 1 | -68/+14 |
| | | | |||||
| | * | extract averaging enum | xoviat | 2025-11-13 | 1 | -18/+1 |
| | | | |||||
| | * | stm32: extract adc4 | xoviat | 2025-11-12 | 1 | -107/+113 |
| | | | | | | | | | extract adc4 into common adc system and add anyInstance trait to cover adc4 and not adc4 | ||||
| | * | stm32/adc: extract into common | xoviat | 2025-11-12 | 1 | -205/+122 |
| | | | | | | | | | add common low-level interface for adc | ||||
| | * | adc: seal special channels | xoviat | 2025-11-11 | 1 | -8/+8 |
| | | | |||||
| | * | adc: use common vref scheme | xoviat | 2025-11-10 | 1 | -36/+25 |
| | | | |||||
| | * | adc: remove sample_time from struct | xoviat | 2025-11-10 | 1 | -18/+5 |
| | | | |||||
| | * | Rustfmt for edition 2024. | Dario Nieuwenhuis | 2025-10-06 | 1 | -3/+6 |
| | | | |||||
| * | | stm32: Add raw_prescaler function to make it more reusable. | Piotr Esden-Tempski | 2025-10-05 | 1 | -2/+1 |
| | | | | | | | | | | | This also puts the explanation why the calculation has to be done that way into one place so it does not need to be copied all over the codebase. | ||||
| * | | stm32/ADC: Fix prescaler calculation to include max frequency. | Piotr Esden-Tempski | 2025-10-05 | 1 | -1/+2 |
| |/ | | | | | | | | | | Due to the integer rounding rules one has to subtract 1 from the numerator. For example: Let max clock be 55 and supplied clock be 110 110/55 = 2 which results in the divider being set to 4 and the clock after division ends up being 27 instead of 55 Subtracting 1 to the numerator get around the rounding issue 109/55 = 1 which results in the divider being set to 2 and the clock after division ends up being 55 which is exactly max clock | ||||
| * | derive Debug and Format for Averaging | dimi | 2025-09-15 | 1 | -1/+2 |
| | | |||||
| * | derive Copy, Clone for adc config enums | dimi | 2025-07-22 | 1 | -0/+1 |
| | | |||||
| * | Fix compile error in adc_read doc comment code | Jakob | 2025-05-14 | 1 | -2/+2 |
| | | |||||
| * | Fix set_ovsr typo, ramp up to latest stm32-data-generated | Thomas Giesel | 2025-04-26 | 1 | -1/+1 |
| | | | | | This is an adaption to https://github.com/embassy-rs/stm32-data/pull/597 | ||||
| * | remove Hz from log | Steven Friedman | 2025-04-08 | 1 | -1/+1 |
| | | |||||
| * | Frequency display is now consistent | Steven Friedman | 2025-04-08 | 1 | -1/+1 |
| | | |||||
| * | Remove Peripheral trait, rename PeripheralRef->Peri. | Dario Nieuwenhuis | 2025-03-27 | 1 | -6/+5 |
| | | |||||
| * | chore: fix build | elagil | 2025-01-03 | 1 | -3/+3 |
| | | |||||
| * | fix formatting | klownfish | 2024-12-31 | 1 | -7/+3 |
| | | |||||
| * | fix adc for u5 | klownfish | 2024-12-18 | 1 | -1/+1 |
| | | |||||
| * | resuse adc v4 for u5 | klownfish | 2024-09-25 | 1 | -1/+18 |
| | | |||||
| * | stm32 adc: introduce blocking_read | Andres Vahter | 2024-07-03 | 1 | -3/+27 |
| | | |||||
| * | Merge pull request #3128 from andresv/stm32-adc-dma-v3 | Ulf Lilleengen | 2024-07-03 | 1 | -13/+128 |
| |\ | | | | | | | STM32 ADC v3 and V4 DMA support | ||||
| | * | stm32: adc v3: fix for newest pac | Andres Vahter | 2024-07-02 | 1 | -2/+1 |
| | | | |||||
| | * | stm32 adc read_async: add asserts for buf len | Andres Vahter | 2024-07-02 | 1 | -3/+6 |
| | | | |||||
| | * | add asynchrous sequence read support to adc v4 | Alexandros Liarokapis | 2024-07-02 | 1 | -12/+125 |
| | | | |||||
| * | | Enables adc v4 averaging support. | Alexandros Liarokapis | 2024-06-23 | 1 | -0/+38 |
| |/ | | | | | | | | 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. | ||||
| * | stm32/rcc: replace generated enable/disable code with runtime info | Jan Špaček | 2024-05-25 | 1 | -2/+2 |
| | | |||||
| * | remove InternalChannel and AdcPin | Univa | 2024-05-22 | 1 | -7/+1 |
| | | |||||
| * | add back InternalChannel and implement it where its missing | Univa | 2024-05-21 | 1 | -1/+7 |
| | | |||||
| * | add AnyAdcChannel | Univa | 2024-05-20 | 1 | -19/+10 |
| | | |||||
| * | stm32 adc: use fn blocking_delay_us(us: u32) | Andres Vahter | 2024-04-10 | 1 | -9/+3 |
| | | |||||
| * | stm32 adc: remove DelayNs | Andres Vahter | 2024-04-10 | 1 | -6/+11 |
| | | |||||
| * | stm32: use embedded_hal_1::delay::DelayNs | Andres Vahter | 2024-04-09 | 1 | -3/+3 |
| | | | | | This makes delay compatible with https://lib.rs/crates/rtic-monotonics. | ||||
| * | stm32: use private_bounds for sealed traits. | Dario Nieuwenhuis | 2024-03-23 | 1 | -4/+4 |
| | | |||||
| * | stm32/adc: reexport enums from PAC to avoid boilerplate hell. | Dario Nieuwenhuis | 2024-02-26 | 1 | -1/+1 |
| | | |||||
| * | stm32: add some docs. | Dario Nieuwenhuis | 2023-12-18 | 1 | -0/+11 |
| | | |||||
| * | enable clock first | pbert | 2023-10-12 | 1 | -1/+1 |
| | | |||||
| * | STM32: combine RccPeripherals reset() and enable() to reset_and_enable() | pbert | 2023-10-12 | 1 | -2/+1 |
| | | |||||
| * | stm32: remove paste and use refcount statics | xoviat | 2023-09-05 | 1 | -74/+0 |
| | | |||||
| * | stm32: fix merge issues | xoviat | 2023-09-05 | 1 | -6/+6 |
| | | |||||
| * | initial support for STM32G4 ADC | Daehyeok Mun | 2023-09-04 | 1 | -106/+87 |
| | | |||||
| * | Rename embassy-hal-common to embassy-hal-internal, document it's for ↵ | Dario Nieuwenhuis | 2023-07-28 | 1 | -1/+1 |
| | | | | | internal use only. (#1700) | ||||
| * | stm32: update stm32-metapac. | Dario Nieuwenhuis | 2023-06-19 | 1 | -99/+73 |
| | | |||||
| * | Remove unnecessary use of atomic-polyfill. | Dario Nieuwenhuis | 2022-12-23 | 1 | -1/+2 |
| | | | | | Only use it when CAS is actually needed. | ||||
| * | Refactor: Use `PeripheralRef` | Grant Miller | 2022-10-26 | 1 | -5/+3 |
| | | |||||
