Home
last modified time | relevance | path

Searched refs:is_moving (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/include/zephyr/drivers/
Dstepper.h164 typedef int (*stepper_is_moving_t)(const struct device *dev, bool *is_moving);
200 stepper_is_moving_t is_moving; member
405 __syscall int stepper_is_moving(const struct device *dev, bool *is_moving);
407 static inline int z_impl_stepper_is_moving(const struct device *dev, bool *is_moving) in z_impl_stepper_is_moving() argument
411 if (api->is_moving == NULL) { in z_impl_stepper_is_moving()
414 return api->is_moving(dev, is_moving); in z_impl_stepper_is_moving()
/Zephyr-latest/drivers/stepper/
Dgpio_stepper_controller.c245 static int gpio_stepper_is_moving(const struct device *dev, bool *is_moving) in gpio_stepper_is_moving() argument
249 *is_moving = k_work_delayable_is_pending(&data->stepper_dwork); in gpio_stepper_is_moving()
250 LOG_DBG("Motor is %s moving", *is_moving ? "" : "not"); in gpio_stepper_is_moving()
376 .is_moving = gpio_stepper_is_moving,
Dstepper_shell.c421 bool is_moving; in cmd_stepper_info() local
447 err = stepper_is_moving(dev, &is_moving); in cmd_stepper_info()
451 shell_print(sh, "Is Moving: %s", is_moving ? "Yes" : "No"); in cmd_stepper_info()
Dfake_stepper_controller.c130 .is_moving = fake_stepper_is_moving,
/Zephyr-latest/drivers/stepper/step_dir/
Dstep_dir_stepper_common.h186 int step_dir_stepper_common_is_moving(const struct device *dev, bool *is_moving);
Dstep_dir_stepper_common.c313 int step_dir_stepper_common_is_moving(const struct device *dev, bool *is_moving) in step_dir_stepper_common_is_moving() argument
317 *is_moving = config->timing_source->is_running(dev); in step_dir_stepper_common_is_moving()
/Zephyr-latest/drivers/stepper/adi_tmc/
Dadi_tmc5041_stepper_controller.c286 static int tmc5041_stepper_is_moving(const struct device *dev, bool *is_moving) in tmc5041_stepper_is_moving() argument
299 *is_moving = (FIELD_GET(TMC5XXX_DRV_STATUS_STST_BIT, reg_value) != 1U); in tmc5041_stepper_is_moving()
300 LOG_DBG("Stepper motor controller %s is moving: %d", dev->name, *is_moving); in tmc5041_stepper_is_moving()
725 .is_moving = tmc5041_stepper_is_moving, \
Dadi_tmc22xx_stepper_controller.c149 .is_moving = step_dir_stepper_common_is_moving,
/Zephyr-latest/drivers/stepper/ti/
Ddrv8424.c340 .is_moving = step_dir_stepper_common_is_moving,