Hello dear Rustaceans ,
The Rust program uses the
duration_since function provided by
std::time::SystemTime to measure time.
pub fn duration_since( &self, earlier: SystemTime ) -> Result<Duration, SystemTimeError>
I see that in the
#[no_std] setting, there is no such convenient API provided by rust
core library. So far, I couldn't find a helpful crate that provides an API for measuring time in embedded devices.
What would be an ergonomic way to measure time in
Would I need to write Rust code by myself that is specific to LM3S6965 ??
Any helpful pointers would be greatly appreciated! Thank you!