aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/time_driver.rs
Commit message (Collapse)AuthorAgeFilesLines
* stm32: use datemath to resume timexoviat2025-12-181-8/+15
|
* low-power: improve debug logicxoviat2025-12-061-0/+6
|
* stm32: allow split irqs for time driverxoviat2025-11-251-119/+7
|
* low_power: misc cleanups and allow main macroxoviat2025-11-161-6/+1
|
* low_power: optimizexoviat2025-11-151-40/+29
|
* low_power: cleanup add_timexoviat2025-11-141-26/+7
|
* rtc: use consistent api between stop and non-stopxoviat2025-11-041-7/+1
|
* make min_stop_pause configurablexoviat2025-11-041-25/+21
|
* stm32/low-power: cleanup and improvexoviat2025-11-041-1/+7
|
* stm32wlex: restore timer near the end of RtcDriver::init_timerliebman2025-11-031-4/+5
|
* stm32wlex: init/restore timer config after STOP2liebman2025-11-031-3/+29
|
* low_power: update api to allow reconfigxoviat2025-11-031-5/+12
|
* Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-061-3/+3
|
* chore: fix buildelagil2025-01-031-2/+2
|
* Rename ETQD, bump dateDániel Buga2024-12-221-1/+1
|
* Merge time-driver and time-queue-driver traits, make HALs own and handle the ↵Dario Nieuwenhuis2024-12-131-47/+57
| | | | queue.
* Refactor integrated-timersDániel Buga2024-12-101-111/+45
|
* Only recompute allocated alarmsDániel Buga2024-11-301-1/+1
|
* RTC: Trigger expired alarmsDániel Buga2024-11-301-1/+4
|
* stm32: remove redundant time-driver macroeZio Pan2024-11-281-24/+0
|
* Use inline const for initializing arrays. (#3567)Dario Nieuwenhuis2024-11-241-4/+1
|
* stm32/rcc: replace generated enable/disable code with runtime infoJan Špaček2024-05-251-2/+2
|
* stm32/time-driver: always use CC interrupt.Dario Nieuwenhuis2024-04-051-26/+17
| | | | | This avoids cfg's, because it works both for timers that have a a dedicated CC interrupt line, and timers where all interrupts go to a single interrupt line.
* add missing interrupt for timereZio Pan2024-04-051-5/+5
|
* "separate CC interrupt" is for AdvCh4 onlyeZio Pan2024-04-051-4/+4
|
* stm32: use private_bounds for sealed traits.Dario Nieuwenhuis2024-03-231-2/+2
|
* stm32/timer: simplify traits, convert from trait methods to struct.Dario Nieuwenhuis2024-03-231-15/+19
|
* Also fix time_driver.rsRené van Dorst2024-03-201-1/+1
|
* Fix warnings in recent nightly.Dario Nieuwenhuis2024-03-201-1/+0
|
* stm32: timers: use TIMx_CC interrupt source for advanced timersTorin Cooper-Bennun2024-02-261-0/+34
| | | | fixes (hopefully) time driver when using TIM1/8/20
* stm32: remove TIM11 as time driver candidate (only 1 CC channel)Torin Cooper-Bennun2024-02-231-2/+0
|
* stm32: time_driver: allow use of TIM1 for driverTorin Cooper-Bennun2024-02-231-1/+1
|
* Add missing TIM for time-driver; reorder time-driver selection when use ↵eZio Pan2024-02-141-10/+56
| | | | "time-drvier-any".
* update timer mod after stm32-metapac timer_v2eZio Pan2024-02-091-4/+4
|
* fixed trailing white spacesshufps2024-01-151-2/+2
|
* adds timer-driver for tim21 and tim22 (on L0)shufps2024-01-151-2/+22
|
* time: split driver into a separate embassy-time-driver crate.Dario Nieuwenhuis2024-01-111-3/+2
|
* STM32: Fix race in alarm setting, which impacted scheduling.RobertTDowling2023-12-171-3/+16
| | | | | | | | | Detect potential race condition (should be rare) and return false back to caller, allowing them to handle the possibility that either the alarm was never set because it was in the past (old meaning of false), or that in fact the alarm was set and may have fired within the race window (new meaning of false). In either case, the caller needs to make sure the callback got called.
* * Add GP TIM9 and TIM11 to be used as time_driverCarlos Barrales Ruiz2023-12-091-1/+20
|
* Add implementation note for embassy-stm32's time-driverJames Munns2023-12-041-0/+11
| | | | | This is a detail I didn't originally understand when hoping to use TIM16/17 as alternative embassy-time driver providers. Adding my note here to hopefully save the next person a little time.
* stm32: Add some documentation to `low_power`Ben Gamari2023-10-301-1/+5
| | | | This begins to explain the operation of the low-power executor.
* stm32: avoid creating many tiny critical sections in init.Dario Nieuwenhuis2023-10-121-29/+27
| | | | Saves 292 bytes on stm32f0 bilnky with max optimizations (from 3132 to 2840).
* enable clock firstpbert2023-10-121-1/+1
|
* STM32: combine RccPeripherals reset() and enable() to reset_and_enable()pbert2023-10-121-2/+1
|
* stm32: remove atomic-polyfill.Dario Nieuwenhuis2023-10-121-12/+10
|
* stm32: fix stopxoviat2023-10-021-1/+5
|
* stm32/low-power: create one critical-section for all time opsxoviat2023-09-211-50/+54
|
* stm32: rtc/low-power cleanupxoviat2023-09-151-0/+6
|
* stm32: complete stop impl.xoviat2023-08-261-18/+7
|
* stm32: get the basic lp workingxoviat2023-08-261-25/+82
|