I'm currently experimenting with Rust and avr-hal and my Arduino Nano. While I'm a professional developer for 13 years, I don't have much experience with Rust or embedded programming. So some easy to follow example code would be appreciated.
I'm currently looking for a way to measure the time between 2 events. Is there something as easy to use as millis() from Arduino?
std::time::Instant is not available on #![no_std]-only targets like AVR, and avr_delay only provides delay routines, not a background timer like millis().