Home
last modified time | relevance | path

Searched refs:step_count (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/drivers/stepper/step_dir/
Dstep_dir_stepper_common.c116 if (data->step_count > 0) { in update_remaining_steps()
117 data->step_count--; in update_remaining_steps()
118 } else if (data->step_count < 0) { in update_remaining_steps()
119 data->step_count++; in update_remaining_steps()
130 if (data->step_count > 0) { in update_direction_from_step_count()
132 } else if (data->step_count < 0) { in update_direction_from_step_count()
144 if (data->step_count) { in position_mode_task()
150 if (config->timing_source->needs_reschedule(dev) && data->step_count != 0) { in position_mode_task()
238 data->step_count = micro_steps; in step_dir_stepper_common_move_by()
304 data->step_count = value - data->actual_position; in step_dir_stepper_common_move_to()
Dstep_dir_stepper_common.h74 int32_t step_count; member
/Zephyr-latest/drivers/stepper/
Dgpio_stepper_controller.c41 int32_t step_count; member
112 if (data->step_count > 0) { in update_remaining_steps()
113 data->step_count--; in update_remaining_steps()
115 } else if (data->step_count < 0) { in update_remaining_steps()
116 data->step_count++; in update_remaining_steps()
131 if (data->step_count > 0) { in update_direction_from_step_count()
133 } else if (data->step_count < 0) { in update_direction_from_step_count()
144 if (data->step_count) { in position_mode_task()
196 data->step_count = micro_steps; in gpio_stepper_move_by()
238 data->step_count = micro_steps - data->actual_position; in gpio_stepper_move_to()
/Zephyr-latest/drivers/led/
Dlp5562.c648 uint8_t step_count, in lp5562_program_ramp() argument
665 LP5562_PROG_COMMAND_STEP_COUNT(fade_dir, step_count)); in lp5562_program_ramp()