aboutsummaryrefslogtreecommitdiff
path: root/embassy-time/src
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Merge TestDriver into MockDriverChris Price2024-01-091-18/+116
| | |
| | * Updated driver implementation docsBarnaby Walters2023-12-221-4/+9
| | |
| | * Improved documentationBarnaby Walters2023-12-222-199/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Documented features including all tick rates * Corrected some out-of-date information * Sorted tick rate features * Removed gen_tick.py dependency on toml * Restructured README.md to better explain tick rate, more clearly prioritise time driver docs, correct header levels
| | * ci: use beta, add secondary nightly ci.Dario Nieuwenhuis2023-12-211-7/+0
| | |
| | * STM32: Fix race in alarm setting, which impacted scheduling.RobertTDowling2023-12-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | 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
|/
* Remove nightly and unstable-traits features in preparation for 1.75.Dario Nieuwenhuis2023-11-292-60/+45
|
* Update embedded-(hal,io,nal).Dario Nieuwenhuis2023-11-294-6/+33
|
* Merge pull request #2132 from embassy-rs/update-nightlyDario Nieuwenhuis2023-11-011-0/+1
|\ | | | | | | Update Rust nightly.
| * Update Rust nightly.Dario Nieuwenhuis2023-11-011-0/+1
| |
* | time: fix MockDriver::now()Andres O. Vela2023-10-311-1/+1
|/
* Fix testAndres O. Vela2023-10-291-1/+1
|
* Remove set_current_time APIAndres O. Vela2023-10-291-5/+0
|
* time: add MockDriver for testing purposesAndres O. Vela2023-10-292-0/+79
|
* time: Add tick rates in multiples of 10 kHzGabriel Smith2023-10-241-0/+57
|
* time: Update examples, tests, and other code to use new Timer::after_x ↵Adam Greig2023-10-151-2/+2
| | | | convenience methods
* time: Add convenience methods for Timer::after_secs/millis/micros/ticksAdam Greig2023-10-151-0/+36
|
* Add more tick ratesDániel Buga2023-09-281-0/+183
|
* Add 80MHz tick rateDániel Buga2023-09-281-0/+3
|
* Merge pull request #1839 from Frostie314159/embassy-time-nextUlf Lilleengen2023-09-121-1/+7
|\ | | | | | | embassy-time: Introduce reset function for Ticker.
| * 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
| |
* | Merge pull request #1854 from bugadani/strDario Nieuwenhuis2023-09-031-1/+1
|\ \ | | | | | | embassy-{net, sync, time}: Use fmt::unwrap
| * | Use fmt::unwrapDániel Buga2023-09-021-1/+1
| |/
* / Sync all fmt.rs files.Dario Nieuwenhuis2023-08-301-6/+39
|/
* Mark Ticker stream as FusedStreamSebastian Goll2023-08-091-0/+8
|
* Remove trivial to remove uses of atomic-polyfill.Dario Nieuwenhuis2023-07-122-2/+2
|
* Remove semicolon in time driver example struct declarationRasmus Pedersen2023-07-051-1/+1
| | | | | The semicolon is not allowed with struct declarations with braces. The doc test compiles fine for some reason!?
* time: fix queue sizecumthugo2023-07-041-1/+1
|
* Fix tests.Dario Nieuwenhuis2023-05-293-8/+10
|
* time: fix unused mut.Dario Nieuwenhuis2023-05-191-1/+1
|
* Update Rust nightly.Dario Nieuwenhuis2023-05-191-1/+0
|
* time: remove dependency on embassy-sync.Dario Nieuwenhuis2023-04-132-18/+14
|
* Update embedded-hal crates.Dario Nieuwenhuis2023-04-061-12/+8
|
* time: add power-of-2 kHz tick rates.Dario Nieuwenhuis2023-03-091-0/+57
| | | | Fixes #1269
* 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
|
* embassy-time: Implement conversions to/from core::time::Duration for ↵kbleeke2023-02-231-0/+16
| | | | embassy-time::Duration
* Clamp ticks to 1 and round to nearest.Caleb Jamison2023-02-091-1/+10
|
* Add from_hz function for Duration.Caleb Jamison2023-02-091-0/+5
|
* STD driver needs a reentrant mutex; logic fixed to be reentrancy-safeivmarkov2023-01-261-22/+45
|
* time: Fix nighly feature compilation after upgrade to embedded-hal-asyncGabriel Smith2022-11-272-13/+6
| | | | 0.2.0-alpha.0
* time/generic_queue: use Vec instead of SortedLinkedListDario Nieuwenhuis2022-10-261-24/+22
|
* time/generic-queue: ensure queue goes in .bss instead of .dataDario Nieuwenhuis2022-10-261-20/+18
|
* Fix a bug identified during code reviewivmarkov2022-10-261-2/+2
|
* Fix embassy-time wasm build and fix a bug in wasm time driverivmarkov2022-10-241-6/+12
|