| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | adc: type-erase regs instance | xoviat | 2025-12-06 | 1 | -31/+27 |
| | | |||||
| * | Make adc v2 resolution public | chemicstry | 2025-12-06 | 1 | -1/+1 |
| | | |||||
| * | adc: fix start sequence for blocking_read | xoviat | 2025-11-21 | 1 | -8/+9 |
| | | |||||
| * | Update ADC clock frequency constant usage | xoviat | 2025-11-15 | 1 | -1/+1 |
| | | |||||
| * | Fix variable name for frequency in ADC prescaler | xoviat | 2025-11-15 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'main' into fix/adc-prescaler-calc | xoviat | 2025-11-15 | 1 | -115/+171 |
| |\ | |||||
| | * | adc: extract v2 psc. | xoviat | 2025-11-13 | 1 | -34/+17 |
| | | | |||||
| | * | stm32: extract adc4 | xoviat | 2025-11-12 | 1 | -30/+36 |
| | | | | | | | | | 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 | -136/+97 |
| | | | | | | | | | add common low-level interface for adc | ||||
| | * | adc: seal special channels | xoviat | 2025-11-11 | 1 | -4/+4 |
| | | | |||||
| | * | adc: consolidate functions | xoviat | 2025-11-10 | 1 | -83/+81 |
| | | | |||||
| | * | adc: use common vref scheme | xoviat | 2025-11-10 | 1 | -30/+17 |
| | | | |||||
| | * | adc: remove sample_time from struct | xoviat | 2025-11-10 | 1 | -12/+5 |
| | | | |||||
| | * | stm32/adc: reorder and unify | xoviat | 2025-11-03 | 1 | -18/+84 |
| | | | |||||
| | * | unify ringbuffered versions | xoviat | 2025-11-03 | 1 | -2/+2 |
| | | | |||||
| | * | stm32/adc: cleanup and simplify | xoviat | 2025-11-03 | 1 | -93/+14 |
| | | | |||||
| | * | stm32/adc: update v2 iface to match v3 | xoviat | 2025-11-03 | 1 | -2/+143 |
| | | | |||||
| | * | Rustfmt for edition 2024. | Dario Nieuwenhuis | 2025-10-06 | 1 | -1/+1 |
| | | | |||||
| * | | 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 | ||||
| * | Remove Peripheral trait, rename PeripheralRef->Peri. | Dario Nieuwenhuis | 2025-03-27 | 1 | -5/+2 |
| | | |||||
| * | stm32 adc: introduce blocking_read | Andres Vahter | 2024-07-03 | 1 | -1/+1 |
| | | |||||
| * | new PR, taking Dirbao's advice to make the DMA impl in a separate struct ↵ | seth | 2024-06-24 | 1 | -0/+3 |
| | | | | | that consumes Adc<T> to make RingBufferedAdc<T>. Handling overrun similar to RingBufferedUart | ||||
| * | Emit cargo:rustc-check-cfg instructions from build.rs | Jan Špaček | 2024-05-30 | 1 | -1/+1 |
| | | |||||
| * | stm32/rcc: replace generated enable/disable code with runtime info | Jan Špaček | 2024-05-25 | 1 | -3/+3 |
| | | |||||
| * | 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 | -10/+10 |
| | | |||||
| * | stm32 adc: use fn blocking_delay_us(us: u32) | Andres Vahter | 2024-04-10 | 1 | -4/+2 |
| | | |||||
| * | stm32 adc: remove DelayNs | Andres Vahter | 2024-04-10 | 1 | -6/+5 |
| | | |||||
| * | stm32: use embedded_hal_1::delay::DelayNs | Andres Vahter | 2024-04-09 | 1 | -2/+2 |
| | | | | | This makes delay compatible with https://lib.rs/crates/rtic-monotonics. | ||||
| * | stm32: use private_bounds for sealed traits. | Dario Nieuwenhuis | 2024-03-23 | 1 | -3/+3 |
| | | |||||
| * | stm32/adc: reexport enums from PAC to avoid boilerplate hell. | Dario Nieuwenhuis | 2024-02-26 | 1 | -1/+1 |
| | | |||||
| * | Fix ADC max frequency for F2 | Joonas Javanainen | 2024-02-01 | 1 | -0/+4 |
| | | |||||
| * | Fix F2 temperature sensor ADC channel | Joonas Javanainen | 2024-02-01 | 1 | -1/+1 |
| | | | | | | 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. | ||||
| * | stm32: update metapac. | Dario Nieuwenhuis | 2024-01-03 | 1 | -3/+3 |
| | | |||||
| * | 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/adc: cleanup f1, f3, v1, and v2 | xoviat | 2023-09-27 | 1 | -23/+13 |
| | | |||||
| * | update metapac | xoviat | 2023-09-14 | 1 | -3/+3 |
| | | |||||
| * | stm32: add g4 adc345 and misc. | xoviat | 2023-09-11 | 1 | -1/+1 |
| | | |||||
| * | 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 | -51/+36 |
| | | |||||
| * | Refactor: Use `PeripheralRef` | Grant Miller | 2022-10-26 | 1 | -5/+3 |
| | | |||||
| * | Refactor: Factor out `Adc` struct declaration | Grant Miller | 2022-10-26 | 1 | -6/+1 |
| | | |||||
| * | Set resolution directly | Grant Miller | 2022-10-26 | 1 | -4/+3 |
| | | |||||
| * | Refactor: Impl `From` for `SampleTime` and `Resolution` | Grant Miller | 2022-10-26 | 1 | -7/+4 |
| | | |||||
| * | Refactor: Factor out `Resolution` | Grant Miller | 2022-10-26 | 1 | -34/+1 |
| | | |||||
| * | Refactor: Factor out `SampleTime` | Grant Miller | 2022-10-26 | 1 | -37/+1 |
| | | |||||
| * | stm32/adc: Remove voltage and temperature conversions | Grant Miller | 2022-10-24 | 1 | -23/+0 |
| | | |||||
