will fall through to idle
Disable motor PWM and do nothing.
Run the startup procedure.
the actual sequence is defined by the config.startup… flags
Run motor calibration and then encoder offset calibration (or encoder index search if
Measure phase resistance and phase inductance of the motor.
Run sensorless control.
Turn the motor in one direction until the encoder index is traversed.
This state can only be entered if encoder.config.use_index is
Turn the motor in one direction for a few seconds and then back to measure the offset between the encoder position and the electrical phase.
Run closed loop control.
Run lockin spin.
Run encoder direction search.
Can only be entered if the motor is calibrated (motor.is_calibrated).
Run axis homing function.
Endstops must be enabled to use this feature.