mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-17 21:35:20 +01:00
rtic-monotonics: Add 64-bit SysTick monotonic
Counting at 1 kHz, 32 bits for counting ticks is not enough to ensure monotonicity for more than 50 days. Add a feature to change the backing storage to 64 bits.
This commit is contained in:
parent
609f14b1e4
commit
4ea73021d6
4 changed files with 36 additions and 7 deletions
|
|
@ -48,6 +48,8 @@ defmt = ["fugit/defmt"]
|
|||
cortex-m-systick = ["dep:cortex-m"]
|
||||
systick-100hz = []
|
||||
systick-10khz = []
|
||||
# Use 64-bit wide backing storage for the Instant
|
||||
systick-64bit = []
|
||||
|
||||
# Timer peripheral on the RP2040
|
||||
rp2040 = ["dep:cortex-m", "dep:rp2040-pac"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue