rtic_monotonics

Macro stm32_tim4_monotonic

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

Create a TIM4 based monotonic and register the TIM4 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.