Lines Matching full:velocity
232 LOG_ERR("Velocity not set or invalid velocity set"); in step_dir_stepper_common_move_by()
247 int step_dir_stepper_common_set_max_velocity(const struct device *dev, const uint32_t velocity) in step_dir_stepper_common_set_max_velocity() argument
252 if (velocity == 0) { in step_dir_stepper_common_set_max_velocity()
253 LOG_ERR("Velocity cannot be zero"); in step_dir_stepper_common_set_max_velocity()
257 if (velocity > USEC_PER_SEC) { in step_dir_stepper_common_set_max_velocity()
258 LOG_ERR("Velocity cannot be greater than %d micro steps per second", USEC_PER_SEC); in step_dir_stepper_common_set_max_velocity()
263 data->max_velocity = velocity; in step_dir_stepper_common_set_max_velocity()
264 config->timing_source->update(dev, velocity); in step_dir_stepper_common_set_max_velocity()
298 LOG_ERR("Velocity not set or invalid velocity set"); in step_dir_stepper_common_move_to()
322 const uint32_t velocity) in step_dir_stepper_common_run() argument
330 data->max_velocity = velocity; in step_dir_stepper_common_run()
331 config->timing_source->update(dev, velocity); in step_dir_stepper_common_run()
332 if (velocity != 0) { in step_dir_stepper_common_run()