Encoder support for both edges
mikepurvis opened this issue · comments
stm32plus currently supports only rising or falling edge:
stm32plus/lib/include/timer/features/TimerEncoderFeature.h
Lines 28 to 31 in 20d12f9
But the underlying fwlib has an option for TIM_ICPolarity_BothEdge
:
stm32plus/lib/fwlib/f4/stdperiph/inc/stm32f4xx_tim.h
Lines 507 to 509 in 20d12f9
Woot, thanks!