Open dsvensson opened 6 years ago
Sample on how to accomplish this:
https://docs.rs/embedded-hal/0.2.1/embedded_hal/#generic-programming-and-higher-level-abstractions
However.... hal::timer::CountDown
is not implemented in linux-embedded-hal
it seems, so that needs to happen.
The embedded-hal eco system defines a concept of timers. This should be passed into the constructor like the
SPI
andCS
structures, and used in for examplereceive(...)
.