drivers: stepper: refactor set_actual_position to set_reference_position
This commit refactos set_actual_position to set_reference_position. stepper_set_reference_position is more apt in regards to what this func actually does Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
This commit is contained in:
parent
fb811f1599
commit
719cd2639c
10 changed files with 35 additions and 32 deletions
|
@ -10,7 +10,7 @@ Configure Stepper Driver
|
|||
|
||||
- Configure **micro-stepping resolution** using :c:func:`stepper_set_micro_step_res`
|
||||
and :c:func:`stepper_get_micro_step_res`.
|
||||
- Configure **actual position a.k.a step count** in microsteps using :c:func:`stepper_set_actual_position`
|
||||
- Configure **reference position** in microsteps using :c:func:`stepper_set_reference_position`
|
||||
and :c:func:`stepper_get_actual_position`.
|
||||
- Set **max velocity** in micro-steps per second using :c:func:`stepper_set_max_velocity`
|
||||
- **Enable** the stepper driver using :c:func:`stepper_enable`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue