I'm trying to make a step counter using Hall effect sensor implanted near the rotor of a common hybrid-synchronous(1.8° in full step) stepper motor, and I'm confused as I'm not able to figure out when common stepper drivers executes a step, whether at the rising edge of pulse sent by controller or falling.

Edit: I'm referring to the output of the stepper controller to the stepper driver(Step Signal) not of stepper driver to stepper motor.

Help will be appreciated.