I'm using STM32L451VCI6 MCU to read pulses from a rotary encoder attached to the shaft of a stepper motor using external interrupts. I'm incrementing a counter at rising edge of interrupt.According to spec of the encoder, I should be able to read 400...