Stm32 Ppm Encoder