2022-08-17 21:40:16 +00:00
|
|
|
[package]
|
|
|
|
name = "embassy-time"
|
2023-12-04 12:56:57 +00:00
|
|
|
version = "0.2.0"
|
2022-08-17 21:40:16 +00:00
|
|
|
edition = "2021"
|
2022-10-26 20:18:10 +00:00
|
|
|
description = "Instant and Duration for embedded no-std systems, with async timer support"
|
|
|
|
repository = "https://github.com/embassy-rs/embassy"
|
|
|
|
readme = "README.md"
|
2022-10-07 10:41:56 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2022-10-26 20:18:10 +00:00
|
|
|
categories = [
|
|
|
|
"embedded",
|
|
|
|
"no-std",
|
|
|
|
"concurrency",
|
|
|
|
"asynchronous",
|
|
|
|
]
|
2022-08-17 21:40:16 +00:00
|
|
|
|
|
|
|
[package.metadata.embassy_docs]
|
|
|
|
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-time-v$VERSION/embassy-time/src/"
|
|
|
|
src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-time/src/"
|
2023-11-29 16:23:48 +00:00
|
|
|
features = ["defmt", "std"]
|
2022-08-17 21:40:16 +00:00
|
|
|
target = "x86_64-unknown-linux-gnu"
|
|
|
|
|
2022-10-26 20:11:08 +00:00
|
|
|
[package.metadata.docs.rs]
|
2023-11-29 16:23:48 +00:00
|
|
|
features = ["defmt", "std"]
|
2022-10-26 20:11:08 +00:00
|
|
|
|
2022-08-17 21:40:16 +00:00
|
|
|
[features]
|
2023-07-08 10:20:26 +00:00
|
|
|
std = ["tick-hz-1_000_000", "critical-section/std"]
|
2022-09-01 22:58:31 +00:00
|
|
|
wasm = ["dep:wasm-bindgen", "dep:js-sys", "dep:wasm-timer", "tick-hz-1_000_000"]
|
2022-08-17 21:40:16 +00:00
|
|
|
|
2023-12-22 16:08:39 +00:00
|
|
|
## Display a timestamp of the number of seconds since startup next to defmt log messages
|
|
|
|
## To use this you must have a time driver provided.
|
2022-08-17 21:40:16 +00:00
|
|
|
defmt-timestamp-uptime = ["defmt"]
|
|
|
|
|
2023-12-22 16:08:39 +00:00
|
|
|
## Create a `MockDriver` that can be manually advanced for testing purposes.
|
|
|
|
mock-driver = ["tick-hz-1_000_000"]
|
|
|
|
|
|
|
|
#! ### Generic Queue
|
|
|
|
|
2023-12-22 16:33:24 +00:00
|
|
|
## Create a global, generic queue that can be used with any executor.
|
2023-12-22 16:08:39 +00:00
|
|
|
## To use this you must have a time driver provided.
|
2022-09-06 18:39:23 +00:00
|
|
|
generic-queue = []
|
|
|
|
|
2023-12-22 16:33:24 +00:00
|
|
|
#! The following features set how many timers are used for the generic queue. At most one
|
2023-12-22 16:08:39 +00:00
|
|
|
#! `generic-queue-*` feature can be enabled. If none is enabled, a default of 64 timers is used.
|
|
|
|
#!
|
|
|
|
#! When using embassy-time from libraries, you should *not* enable any `generic-queue-*` feature, to allow the
|
|
|
|
#! end user to pick.
|
|
|
|
|
|
|
|
## Generic Queue with 8 timers
|
2022-09-26 10:46:15 +00:00
|
|
|
generic-queue-8 = ["generic-queue"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## Generic Queue with 16 timers
|
2022-09-26 10:46:15 +00:00
|
|
|
generic-queue-16 = ["generic-queue"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## Generic Queue with 32 timers
|
2022-09-26 10:46:15 +00:00
|
|
|
generic-queue-32 = ["generic-queue"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## Generic Queue with 64 timers
|
2022-09-26 10:46:15 +00:00
|
|
|
generic-queue-64 = ["generic-queue"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## Generic Queue with 128 timers
|
2022-09-26 10:46:15 +00:00
|
|
|
generic-queue-128 = ["generic-queue"]
|
|
|
|
|
2023-12-22 16:08:39 +00:00
|
|
|
#! ### Tick Rate
|
|
|
|
#!
|
|
|
|
#! At most 1 `tick-*` feature can be enabled. If none is enabled, a default of 1MHz is used.
|
|
|
|
#!
|
|
|
|
#! If the time driver in use supports using arbitrary tick rates, you can enable one `tick-*`
|
|
|
|
#! feature from your binary crate to set the tick rate. The driver will use configured tick rate.
|
|
|
|
#! If the time driver supports a fixed tick rate, it will enable one feature itself, so you should
|
|
|
|
#! not enable one. Check the time driver documentation for details.
|
|
|
|
#!
|
|
|
|
#! When using embassy-time from libraries, you should *not* enable any `tick-*` feature, to allow the
|
|
|
|
#! end user or the driver to pick.
|
|
|
|
#! <details>
|
|
|
|
#! <summary>Available tick rates:</summary>
|
|
|
|
#! <!-- Next line must be left empty for the features to render correctly! -->
|
|
|
|
#!
|
2022-09-01 22:58:31 +00:00
|
|
|
|
|
|
|
# BEGIN TICKS
|
|
|
|
# Generated by gen_tick.py. DO NOT EDIT.
|
2023-12-22 16:08:39 +00:00
|
|
|
## 1Hz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-1 = ["embassy-time-driver/tick-hz-1"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 2Hz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-2 = ["embassy-time-driver/tick-hz-2"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 4Hz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-4 = ["embassy-time-driver/tick-hz-4"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 8Hz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-8 = ["embassy-time-driver/tick-hz-8"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 10Hz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-10 = ["embassy-time-driver/tick-hz-10"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 16Hz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-16 = ["embassy-time-driver/tick-hz-16"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 32Hz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-32 = ["embassy-time-driver/tick-hz-32"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 64Hz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-64 = ["embassy-time-driver/tick-hz-64"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 100Hz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-100 = ["embassy-time-driver/tick-hz-100"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 128Hz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-128 = ["embassy-time-driver/tick-hz-128"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 256Hz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-256 = ["embassy-time-driver/tick-hz-256"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 512Hz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-512 = ["embassy-time-driver/tick-hz-512"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 1.0kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-1_000 = ["embassy-time-driver/tick-hz-1_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 1.024kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-1_024 = ["embassy-time-driver/tick-hz-1_024"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 2.0kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-2_000 = ["embassy-time-driver/tick-hz-2_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 2.048kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-2_048 = ["embassy-time-driver/tick-hz-2_048"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 4.0kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-4_000 = ["embassy-time-driver/tick-hz-4_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 4.096kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-4_096 = ["embassy-time-driver/tick-hz-4_096"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 8.0kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-8_000 = ["embassy-time-driver/tick-hz-8_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 8.192kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-8_192 = ["embassy-time-driver/tick-hz-8_192"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 10.0kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-10_000 = ["embassy-time-driver/tick-hz-10_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 16.0kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-16_000 = ["embassy-time-driver/tick-hz-16_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 16.384kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-16_384 = ["embassy-time-driver/tick-hz-16_384"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 20.0kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-20_000 = ["embassy-time-driver/tick-hz-20_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 32.0kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-32_000 = ["embassy-time-driver/tick-hz-32_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 32.768kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-32_768 = ["embassy-time-driver/tick-hz-32_768"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 40.0kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-40_000 = ["embassy-time-driver/tick-hz-40_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 64.0kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-64_000 = ["embassy-time-driver/tick-hz-64_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 65.536kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-65_536 = ["embassy-time-driver/tick-hz-65_536"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 80.0kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-80_000 = ["embassy-time-driver/tick-hz-80_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 100.0kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-100_000 = ["embassy-time-driver/tick-hz-100_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 128.0kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-128_000 = ["embassy-time-driver/tick-hz-128_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 131.072kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-131_072 = ["embassy-time-driver/tick-hz-131_072"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 160.0kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-160_000 = ["embassy-time-driver/tick-hz-160_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 256.0kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-256_000 = ["embassy-time-driver/tick-hz-256_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 262.144kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-262_144 = ["embassy-time-driver/tick-hz-262_144"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 320.0kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-320_000 = ["embassy-time-driver/tick-hz-320_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 512.0kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-512_000 = ["embassy-time-driver/tick-hz-512_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 524.288kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-524_288 = ["embassy-time-driver/tick-hz-524_288"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 640.0kHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-640_000 = ["embassy-time-driver/tick-hz-640_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 1.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-1_000_000 = ["embassy-time-driver/tick-hz-1_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 1.024MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-1_024_000 = ["embassy-time-driver/tick-hz-1_024_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 1.048576MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-1_048_576 = ["embassy-time-driver/tick-hz-1_048_576"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 1.28MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-1_280_000 = ["embassy-time-driver/tick-hz-1_280_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 2.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-2_000_000 = ["embassy-time-driver/tick-hz-2_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 2.048MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-2_048_000 = ["embassy-time-driver/tick-hz-2_048_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 2.097152MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-2_097_152 = ["embassy-time-driver/tick-hz-2_097_152"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 2.56MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-2_560_000 = ["embassy-time-driver/tick-hz-2_560_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 3.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-3_000_000 = ["embassy-time-driver/tick-hz-3_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 4.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-4_000_000 = ["embassy-time-driver/tick-hz-4_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 4.096MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-4_096_000 = ["embassy-time-driver/tick-hz-4_096_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 4.194304MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-4_194_304 = ["embassy-time-driver/tick-hz-4_194_304"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 5.12MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-5_120_000 = ["embassy-time-driver/tick-hz-5_120_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 6.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-6_000_000 = ["embassy-time-driver/tick-hz-6_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 8.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-8_000_000 = ["embassy-time-driver/tick-hz-8_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 8.192MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-8_192_000 = ["embassy-time-driver/tick-hz-8_192_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 8.388608MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-8_388_608 = ["embassy-time-driver/tick-hz-8_388_608"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 9.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-9_000_000 = ["embassy-time-driver/tick-hz-9_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 10.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-10_000_000 = ["embassy-time-driver/tick-hz-10_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 10.24MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-10_240_000 = ["embassy-time-driver/tick-hz-10_240_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 12.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-12_000_000 = ["embassy-time-driver/tick-hz-12_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 16.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-16_000_000 = ["embassy-time-driver/tick-hz-16_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 16.384MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-16_384_000 = ["embassy-time-driver/tick-hz-16_384_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 16.777216MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-16_777_216 = ["embassy-time-driver/tick-hz-16_777_216"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 18.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-18_000_000 = ["embassy-time-driver/tick-hz-18_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 20.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-20_000_000 = ["embassy-time-driver/tick-hz-20_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 20.48MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-20_480_000 = ["embassy-time-driver/tick-hz-20_480_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 24.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-24_000_000 = ["embassy-time-driver/tick-hz-24_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 30.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-30_000_000 = ["embassy-time-driver/tick-hz-30_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 32.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-32_000_000 = ["embassy-time-driver/tick-hz-32_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 32.768MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-32_768_000 = ["embassy-time-driver/tick-hz-32_768_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 36.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-36_000_000 = ["embassy-time-driver/tick-hz-36_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 40.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-40_000_000 = ["embassy-time-driver/tick-hz-40_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 40.96MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-40_960_000 = ["embassy-time-driver/tick-hz-40_960_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 48.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-48_000_000 = ["embassy-time-driver/tick-hz-48_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 50.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-50_000_000 = ["embassy-time-driver/tick-hz-50_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 60.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-60_000_000 = ["embassy-time-driver/tick-hz-60_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 64.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-64_000_000 = ["embassy-time-driver/tick-hz-64_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 65.536MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-65_536_000 = ["embassy-time-driver/tick-hz-65_536_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 70.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-70_000_000 = ["embassy-time-driver/tick-hz-70_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 72.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-72_000_000 = ["embassy-time-driver/tick-hz-72_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 80.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-80_000_000 = ["embassy-time-driver/tick-hz-80_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 81.92MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-81_920_000 = ["embassy-time-driver/tick-hz-81_920_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 90.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-90_000_000 = ["embassy-time-driver/tick-hz-90_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 96.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-96_000_000 = ["embassy-time-driver/tick-hz-96_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 100.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-100_000_000 = ["embassy-time-driver/tick-hz-100_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 110.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-110_000_000 = ["embassy-time-driver/tick-hz-110_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 120.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-120_000_000 = ["embassy-time-driver/tick-hz-120_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 128.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-128_000_000 = ["embassy-time-driver/tick-hz-128_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 130.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-130_000_000 = ["embassy-time-driver/tick-hz-130_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 131.072MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-131_072_000 = ["embassy-time-driver/tick-hz-131_072_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 140.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-140_000_000 = ["embassy-time-driver/tick-hz-140_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 144.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-144_000_000 = ["embassy-time-driver/tick-hz-144_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 150.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-150_000_000 = ["embassy-time-driver/tick-hz-150_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 160.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-160_000_000 = ["embassy-time-driver/tick-hz-160_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 163.84MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-163_840_000 = ["embassy-time-driver/tick-hz-163_840_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 170.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-170_000_000 = ["embassy-time-driver/tick-hz-170_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 180.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-180_000_000 = ["embassy-time-driver/tick-hz-180_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 190.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-190_000_000 = ["embassy-time-driver/tick-hz-190_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 192.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-192_000_000 = ["embassy-time-driver/tick-hz-192_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 200.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-200_000_000 = ["embassy-time-driver/tick-hz-200_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 210.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-210_000_000 = ["embassy-time-driver/tick-hz-210_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 220.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-220_000_000 = ["embassy-time-driver/tick-hz-220_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 230.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-230_000_000 = ["embassy-time-driver/tick-hz-230_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 240.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-240_000_000 = ["embassy-time-driver/tick-hz-240_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 250.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-250_000_000 = ["embassy-time-driver/tick-hz-250_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 256.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-256_000_000 = ["embassy-time-driver/tick-hz-256_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 260.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-260_000_000 = ["embassy-time-driver/tick-hz-260_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 262.144MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-262_144_000 = ["embassy-time-driver/tick-hz-262_144_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 270.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-270_000_000 = ["embassy-time-driver/tick-hz-270_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 280.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-280_000_000 = ["embassy-time-driver/tick-hz-280_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 288.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-288_000_000 = ["embassy-time-driver/tick-hz-288_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 290.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-290_000_000 = ["embassy-time-driver/tick-hz-290_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 300.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-300_000_000 = ["embassy-time-driver/tick-hz-300_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 320.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-320_000_000 = ["embassy-time-driver/tick-hz-320_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 327.68MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-327_680_000 = ["embassy-time-driver/tick-hz-327_680_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 340.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-340_000_000 = ["embassy-time-driver/tick-hz-340_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 360.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-360_000_000 = ["embassy-time-driver/tick-hz-360_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 380.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-380_000_000 = ["embassy-time-driver/tick-hz-380_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 384.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-384_000_000 = ["embassy-time-driver/tick-hz-384_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 400.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-400_000_000 = ["embassy-time-driver/tick-hz-400_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 420.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-420_000_000 = ["embassy-time-driver/tick-hz-420_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 440.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-440_000_000 = ["embassy-time-driver/tick-hz-440_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 460.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-460_000_000 = ["embassy-time-driver/tick-hz-460_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 480.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-480_000_000 = ["embassy-time-driver/tick-hz-480_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 500.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-500_000_000 = ["embassy-time-driver/tick-hz-500_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 512.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-512_000_000 = ["embassy-time-driver/tick-hz-512_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 520.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-520_000_000 = ["embassy-time-driver/tick-hz-520_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 524.288MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-524_288_000 = ["embassy-time-driver/tick-hz-524_288_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 540.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-540_000_000 = ["embassy-time-driver/tick-hz-540_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 560.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-560_000_000 = ["embassy-time-driver/tick-hz-560_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 576.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-576_000_000 = ["embassy-time-driver/tick-hz-576_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 580.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-580_000_000 = ["embassy-time-driver/tick-hz-580_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 600.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-600_000_000 = ["embassy-time-driver/tick-hz-600_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 620.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-620_000_000 = ["embassy-time-driver/tick-hz-620_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 640.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-640_000_000 = ["embassy-time-driver/tick-hz-640_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 655.36MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-655_360_000 = ["embassy-time-driver/tick-hz-655_360_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 660.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-660_000_000 = ["embassy-time-driver/tick-hz-660_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 680.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-680_000_000 = ["embassy-time-driver/tick-hz-680_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 700.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-700_000_000 = ["embassy-time-driver/tick-hz-700_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 720.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-720_000_000 = ["embassy-time-driver/tick-hz-720_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 740.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-740_000_000 = ["embassy-time-driver/tick-hz-740_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 760.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-760_000_000 = ["embassy-time-driver/tick-hz-760_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 768.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-768_000_000 = ["embassy-time-driver/tick-hz-768_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 780.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-780_000_000 = ["embassy-time-driver/tick-hz-780_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 800.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-800_000_000 = ["embassy-time-driver/tick-hz-800_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 820.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-820_000_000 = ["embassy-time-driver/tick-hz-820_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 840.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-840_000_000 = ["embassy-time-driver/tick-hz-840_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 860.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-860_000_000 = ["embassy-time-driver/tick-hz-860_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 880.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-880_000_000 = ["embassy-time-driver/tick-hz-880_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 900.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-900_000_000 = ["embassy-time-driver/tick-hz-900_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 920.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-920_000_000 = ["embassy-time-driver/tick-hz-920_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 940.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-940_000_000 = ["embassy-time-driver/tick-hz-940_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 960.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-960_000_000 = ["embassy-time-driver/tick-hz-960_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 980.0MHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-980_000_000 = ["embassy-time-driver/tick-hz-980_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 1.0GHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-1_000_000_000 = ["embassy-time-driver/tick-hz-1_000_000_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 1.31072GHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-1_310_720_000 = ["embassy-time-driver/tick-hz-1_310_720_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 2.62144GHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-2_621_440_000 = ["embassy-time-driver/tick-hz-2_621_440_000"]
|
2023-12-22 16:08:39 +00:00
|
|
|
## 5.24288GHz Tick Rate
|
2024-01-11 15:38:44 +00:00
|
|
|
tick-hz-5_242_880_000 = ["embassy-time-driver/tick-hz-5_242_880_000"]
|
2022-09-01 22:58:31 +00:00
|
|
|
# END TICKS
|
2022-08-17 21:40:16 +00:00
|
|
|
|
2023-12-22 16:08:39 +00:00
|
|
|
#! </details>
|
|
|
|
|
2022-08-17 21:40:16 +00:00
|
|
|
[dependencies]
|
2024-01-11 15:38:44 +00:00
|
|
|
embassy-time-driver = { version = "0.1.0", path = "../embassy-time-driver" }
|
|
|
|
|
2022-08-17 21:40:16 +00:00
|
|
|
defmt = { version = "0.3", optional = true }
|
|
|
|
log = { version = "0.4.14", optional = true }
|
|
|
|
|
|
|
|
embedded-hal-02 = { package = "embedded-hal", version = "0.2.6" }
|
2023-12-26 16:38:34 +00:00
|
|
|
embedded-hal-1 = { package = "embedded-hal", version = "1.0" }
|
|
|
|
embedded-hal-async = { version = "1.0" }
|
2022-08-17 21:40:16 +00:00
|
|
|
|
|
|
|
futures-util = { version = "0.3.17", default-features = false }
|
|
|
|
critical-section = "1.1"
|
|
|
|
cfg-if = "1.0.0"
|
2023-11-08 21:59:58 +00:00
|
|
|
heapless = "0.8"
|
2022-08-17 21:40:16 +00:00
|
|
|
|
2023-12-22 16:08:39 +00:00
|
|
|
document-features = "0.2.7"
|
|
|
|
|
2022-08-17 21:40:16 +00:00
|
|
|
# WASM dependencies
|
2022-08-23 17:55:49 +00:00
|
|
|
wasm-bindgen = { version = "0.2.81", optional = true }
|
2022-08-17 21:40:16 +00:00
|
|
|
js-sys = { version = "0.3", optional = true }
|
2022-09-29 09:02:43 +00:00
|
|
|
wasm-timer = { version = "0.2.5", optional = true }
|
2022-09-20 17:23:56 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
serial_test = "0.9"
|
2022-09-26 10:46:15 +00:00
|
|
|
critical-section = { version = "1.1", features = ["std"] }
|
2023-12-06 11:03:43 +00:00
|
|
|
embassy-executor = { version = "0.4.0", path = "../embassy-executor" }
|