systick-timer

Crates.iosystick-timer
lib.rssystick-timer
version0.1.5
created_at2025-03-08 23:34:37.538063+00
updated_at2025-08-10 22:44:02.250493+00
description64-bit SysTick timer for Cortex-M0
homepagehttps://github.com/kaidokert/systick-timer-rs
repositoryhttps://github.com/kaidokert/systick-timer-rs
max_upload_size
id1584922
size52,926
Kaido Kert (kaidokert)

documentation

https://docs.rs/systick-timer

README

64-bit SysTick timer for Cortex-M0

crate documentation Build

Implements a 64-bit SysTick based timer, that tracks overflows and provides as single monotonic 64-bit value at the desired resolution. The only dependencies are cortex-m and cortex-m-rt crates.

Optionally wraps this in an embassy-time-driver.

Examples included for QEMU Cortex-M0.

To run the demos with QEMU:

cargo runq --example basic_time

Embassy version:

cargo runq --example embassy_time

Testing

To run the tests, run without default features:

cargo test --no-default-features
Commit count: 10

cargo fmt