| Crates.io | synch |
| lib.rs | synch |
| version | 0.1.2 |
| created_at | 2025-01-09 08:16:29.951178+00 |
| updated_at | 2025-04-03 23:43:23.841271+00 |
| description | A basic asynchronous timer implementation that uses the cortex-m SysTick peripheral |
| homepage | https://github.com/NZRosto/synch |
| repository | https://github.com/NZRosto/synch |
| max_upload_size | |
| id | 1509696 |
| size | 34,781 |
A basic asynchronous timer implementation that uses the cortex-m SysTick
peripheral.
Construct a new [Timer] instance using the
SysTick peripheral. The timer can then be
used to create timeouts, tickers, and trackers.
Enable the defmt feature to automatically implement the defmt timestamp
feature, as well as derive defmt::Format for all relevant types.
Useful traits from [fugit] are re-exported for convenience.
Timer] is designed
to be used in conjunction with an executor like cassette,
that is, a simple polling-based loop.SysTick exception is implemented within this crate to catch timer
overflows and should not be used elsewhere.