aboutsummaryrefslogtreecommitdiff
path: root/embassy-time/src
Commit message (Collapse)AuthorAgeFilesLines
* Fixup docsCaleb Jamison2024-01-311-1/+1
|
* Rename timeout_at to with_deadlineCaleb Jamison2024-01-312-2/+2
|
* Add timeout_at convenience function and example.Caleb Jamison2024-01-312-2/+15
|
* time: split queue driver too, don't reexport drivers.Dario Nieuwenhuis2024-01-118-91/+20
|
* time: split driver into a separate embassy-time-driver crate.Dario Nieuwenhuis2024-01-116-678/+6
|
* Remove nightly autodetects.Dario Nieuwenhuis2024-01-101-2/+0
|
* Ignore the doctest driver registration to prevent duplicate registrationsChris Price2024-01-092-2/+6
|
* Lint/format fixesChris Price2024-01-092-4/+2
|
* Use MockDriver in queue_generic testsChris Price2024-01-092-93/+25
|
* Prevent over-allocationChris Price2024-01-091-12/+34
|
* Restructure InnerMockDriverChris Price2024-01-091-23/+38
| | | | Failing test for overallocation of alarms
* 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.
* 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