sipeed / bl602-hal

Hardware Abstract Layer for BL602 RISC-V WiFi + BLE SoC in embedded Rust
Other
75 stars 14 forks source link

Allow generic time units in timer setup functions #37

Closed kiyoshigawa closed 3 years ago

kiyoshigawa commented 3 years ago

-This implements the ability for any embedded-time::duration:: or embedded-time::rate:: to be used where previously only Hertz or Milliseconds were accepted.

This should resolve issue https://github.com/sipeed/bl602-hal/issues/36