Home
last modified time | relevance | path

Searched refs:actual_position (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/drivers/stepper/
Dfake_stepper_controller.c19 int32_t actual_position; member
72 data->actual_position = pos; in fake_stepper_set_reference_position_delegate()
81 *pos = data->actual_position; in fake_stepper_get_actual_position_delegate()
Dgpio_stepper_controller.c39 int32_t actual_position; member
103 data->actual_position++; in update_coil_charge()
106 data->actual_position--; in update_coil_charge()
208 data->actual_position = position; in gpio_stepper_set_reference_position()
218 *position = data->actual_position; in gpio_stepper_get_actual_position()
238 data->step_count = micro_steps - data->actual_position; in gpio_stepper_move_to()
Dstepper_shell.c329 int32_t actual_position; in cmd_stepper_get_actual_position() local
336 err = stepper_get_actual_position(dev, &actual_position); in cmd_stepper_get_actual_position()
340 shell_print(sh, "Actual Position: %d", actual_position); in cmd_stepper_get_actual_position()
422 int32_t actual_position; in cmd_stepper_info() local
433 err = stepper_get_actual_position(dev, &actual_position); in cmd_stepper_info()
437 shell_print(sh, "Actual Position: %d", actual_position); in cmd_stepper_info()
/Zephyr-latest/drivers/stepper/step_dir/
Dstep_dir_stepper_common.c48 data->actual_position++; in step_dir_stepper_perform_step()
50 data->actual_position--; in step_dir_stepper_perform_step()
275 data->actual_position = value; in step_dir_stepper_common_set_reference_position()
286 *value = data->actual_position; in step_dir_stepper_common_get_actual_position()
304 data->step_count = value - data->actual_position; in step_dir_stepper_common_move_to()
Dstep_dir_stepper_common.h72 int32_t actual_position; member