Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/stepper/adi_tmc/
Dadi_tmc5041_stepper_controller.c152 struct tmc5041_stepper_data *stepper_data = in stallguard_work_handler() local
155 const struct tmc5041_stepper_config *stepper_config = stepper_data->stepper->config; in stallguard_work_handler()
157 err = stallguard_enable(stepper_data->stepper, true); in stallguard_work_handler()
185 struct tmc5041_stepper_data *stepper_data = in rampstat_work_handler() local
187 const struct tmc5041_stepper_config *stepper_config = stepper_data->stepper->config; in rampstat_work_handler()
197 LOG_ERR("%s: Failed to read DRVSTATUS register", stepper_data->stepper->name); in rampstat_work_handler()
202 LOG_INF("%s: Stall detected", stepper_data->stepper->name); in rampstat_work_handler()
207 LOG_ERR("%s: Failed to stop motor", stepper_data->stepper->name); in rampstat_work_handler()
217 LOG_ERR("%s: Failed to read RAMPSTAT register", stepper_data->stepper->name); in rampstat_work_handler()
227 LOG_DBG("RAMPSTAT %s:Left end-stop detected", stepper_data->stepper->name); in rampstat_work_handler()
[all …]