RIOT-OS / rust-riot-wrappers

The `riot-wrappers` crate, which enables high-level access to RIOT from the Rust programming language
13 stars 11 forks source link

Use ztimer_acquire and provide methods based on that kind of locking #103

Closed chrysn closed 4 weeks ago

chrysn commented 4 weeks ago

This adds a way to acquire a clock, a .now() method on acquired clock, and .time() method for timing functions as they are being executed.