#timer #monotonic #rtic #linked #pair #stm32f0 #stm32l0

tim-systick-monotonic

RTIC Monotonic implementation for STM32L0 and STM32F0 using linked timers

2 unstable releases

0.2.0 Oct 25, 2021
0.1.0 Jul 11, 2021

#14 in #rtic

MIT license

11KB
172 lines

RTIC Monotonic implementation on a pair of 16 bit timers for various STM microcontrollers.

Select which timer pair to use with features, currently supported:

  • l0x1-tim21-tim22 - STM32L0x1 TIM21+TIM22
  • f0x1-tim15-tim17 - STM32F0x1 TIM15+TIM17
  • f0x1-tim15-tim16 - STN32F0x1 TIM15+TIM16
  • f0x2-tim15-tim17 - STM32F0x2 TIM15+TIM17
  • h743v-tim15-tim17 - STM32H743 rev.V TIM15+TIM17

Other timer combinations are possible as well.

Dependencies

~0.6–28MB
~762K SLoC