Motor angle conter adder to encoder API interrupts