Currently the only Timer driver(s) in modm are written for STM32 and the API is very hardware-specific. See e.g. https://docs.modm.io/develop/api/nucleo-g474re/classmodm_1_1platform_1_1Timer8.html
I propose to rename the current API to TimerHal (similar to SpiHal) and to add APIs for different functionalities (PWM generation, encoder input, DC- and BLDC- motors, ...)
cc @TomSaw @salkinium
Currently the only Timer driver(s) in modm are written for STM32 and the API is very hardware-specific. See e.g. https://docs.modm.io/develop/api/nucleo-g474re/classmodm_1_1platform_1_1Timer8.html
I propose to rename the current API to TimerHal (similar to SpiHal) and to add APIs for different functionalities (PWM generation, encoder input, DC- and BLDC- motors, ...)
cc @TomSaw @salkinium