aboutsummaryrefslogtreecommitdiff
path: root/embassy-time/src/timer.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix API documentation for Ticker reset_at() functionIsmo Puustinen2025-12-051-1/+1
| | | | | | | The documentation indicated reset_at() would fire immediately if the deadline is in the past. However, if the duration is further in the future than the deadline is in the past, the ticker won't fire immediately but just before the next scheduled tick.
* Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-061-2/+2
|
* docs: clarify that timer will expire immediately if in pastredfast002025-08-121-0/+1
|
* `embassy-time`: add missing `Debug` & `defmt::Format` derivesRalph Ursprung2025-07-281-0/+6
| | | | | | | | `defmt::Format` is *not* implemented for `MockDriver` and `InnerMockDriver` because the former contains the latter and the latter is using `Queue` from `embassy-time-queue-utils` which so far does not have a `defmt` dependency. since this is just a mock driver it shouldn't be relevant if it has no `defmt::Format` impl.
* Remove futures-util where unnecessaryDániel Buga2025-06-161-2/+2
|
* Manually implement the future for `with_timeout`Alex Moon2025-04-231-19/+42
|
* Add cancel safety notes to TickerMarvin Gudel2025-02-021-0/+7
|
* Remove special handling of integrated timer queueDániel Buga2024-12-161-3/+3
|
* implement with_timeout()/with_deadline() method style call on FutureAurélien Jacobs2024-06-141-0/+30
|
* Reduce use of the full `futures` crate.Dario Nieuwenhuis2024-04-261-6/+4
|
* Merge branch 'embassy-rs:main' into ticker_send_syncFrostie3141592024-03-311-20/+30
|\
| * Adjusted behavior.Frostie3141592024-03-281-2/+2
| |
| * Merge branch 'embassy-rs:main' into reset-at-afterFrostie3141592024-03-211-20/+18
| |\
| | * Fixup docsCaleb Jamison2024-01-311-1/+1
| | |
| | * Rename timeout_at to with_deadlineCaleb Jamison2024-01-311-1/+1
| | |
| | * Add timeout_at convenience function and example.Caleb Jamison2024-01-311-1/+14
| | |
| | * time: split queue driver too, don't reexport drivers.Dario Nieuwenhuis2024-01-111-12/+4
| | |
| | * ci: use beta, add secondary nightly ci.Dario Nieuwenhuis2023-12-211-7/+0
| | |
| * | Adjusted documentation and reset_after behaviour.Frostie3141592023-12-111-1/+3
| | |
| * | Introduce reset_{at|after} functions for Ticker.Frostie3141592023-12-111-0/+10
| |/
* / Made Ticker::next Send+Sync.Frostie3141592024-03-311-1/+1
|/
* Update embedded-(hal,io,nal).Dario Nieuwenhuis2023-11-291-0/+9
|
* time: Add convenience methods for Timer::after_secs/millis/micros/ticksAdam Greig2023-10-151-0/+36
|
* Fixed formating.Frostie3141592023-09-111-1/+1
|
* Removed unnecessary newline.Frostie3141592023-08-291-2/+1
|
* embassy-time: Introduced reset function for TickerFrostie3141592023-08-291-1/+8
|
* Mark Ticker stream as FusedStreamSebastian Goll2023-08-091-0/+8
|
* Fix tests.Dario Nieuwenhuis2023-05-291-1/+0
|
* time/ticker: make sure the future for .next() is Unpin.Dario Nieuwenhuis2023-03-051-4/+13
|
* embassy-time: add async tick() method to Tickerkbleeke2023-02-281-1/+6
|
* Add `#[must_use]` to all futuresGrant Miller2023-02-241-0/+1
|
* Split embassy-time from embassy-executor.Dario Nieuwenhuis2022-08-181-0/+158