Searched refs:phase_ix (Results 1 – 4 of 4) sorted by relevance
40 phase_ix_t phase_ix; // motor phase index variable66 void update(ccpr_t ccpr, phase_ix_t phase_ix){ in update() argument68 const phase_t phase = ccpPhase[phase_ix]; in update()143 phase_ix = (phase_ix + d) & literal(3); in isr_motor_step()144 update(ccpr, phase_ix); in isr_motor_step()178 phase_ix = d & literal(3); in motor_run()179 update(ccpr, phase_ix); in motor_run()
29 uint8 phase_ix=0; // index to ccpPhase[] variable102 phase_ix = (phase_ix + phase_inc) & 3; in isr_motor_step()103 phase = ccpPhase[phase_ix]; in isr_motor_step()132 phase_ix = (phase_ix + phase_inc) & 3; in motor_run()133 phase = ccpPhase[phase_ix]; in motor_run()
29 uint8 phase_ix=0; // index to ccpPhase[] variable120 phase_ix = (phase_ix + phase_inc) & 3; in isr_motor_step()121 phase = ccpPhase[phase_ix]; in isr_motor_step()149 phase_ix = (phase_ix + phase_inc) & 3; in motor_run()150 phase = ccpPhase[phase_ix]; in motor_run()
35 int8 phase_ix=0; // index to ccpPhase[] variable112 phase_ix = (phase_ix + phase_inc) & 3; in isr_motor_step()113 phase = ccpPhase[phase_ix]; in isr_motor_step()146 phase_ix = (phase_ix + phase_inc) & 3; in motor_run()147 phase = ccpPhase[phase_ix]; in motor_run()