if (status_reg & BV(TC_CPAS))
stepper_tc_tio_irq(&stepper_timers[TC_TIOA0]);
if (status_reg & BV(TC_CPBS))
stepper_tc_tio_irq(&stepper_timers[TC_TIOB0]);
if (status_reg & BV(TC_CPAS))
stepper_tc_tio_irq(&stepper_timers[TC_TIOA0]);
if (status_reg & BV(TC_CPBS))
stepper_tc_tio_irq(&stepper_timers[TC_TIOB0]);