I'm trying to implement 6-step BLDC commutation with an STM32F767 MCU, commutation table shown belowI have the 3 hall effects going to GPIO interrupt pins, the ISR code is pasted below. I used the generated code from the X-CUBE Motor workbench as a s...