Searched refs:is_moving (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/include/zephyr/drivers/ |
D | stepper.h | 164 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/ |
D | gpio_stepper_controller.c | 245 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,
|
D | stepper_shell.c | 421 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()
|
D | fake_stepper_controller.c | 130 .is_moving = fake_stepper_is_moving,
|
/Zephyr-latest/drivers/stepper/step_dir/ |
D | step_dir_stepper_common.h | 186 int step_dir_stepper_common_is_moving(const struct device *dev, bool *is_moving);
|
D | step_dir_stepper_common.c | 313 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/ |
D | adi_tmc5041_stepper_controller.c | 286 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, \
|
D | adi_tmc22xx_stepper_controller.c | 149 .is_moving = step_dir_stepper_common_is_moving,
|
/Zephyr-latest/drivers/stepper/ti/ |
D | drv8424.c | 340 .is_moving = step_dir_stepper_common_is_moving,
|