macro_rules! stm32_tim2_monotonic {
    ($name:ident, $tick_rate_hz:expr) => { ... };
}
Expand description

Create a TIM2 based monotonic and register the TIM2 interrupt for it.

See crate::stm32 for more details.

§Arguments

  • name - The name that the monotonic type will have.
  • tick_rate_hz - The tick rate of the timer peripheral.