I am trying to interface the STM32H747 with a quadrature encoder-equipped motor to track linear movement. When moving forward, I expect the counter to increment. When moving backwards, I expect the counter to decrement. To do this, I have configured ...