Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/stepper/adi_tmc/
Dadi_tmc5041_stepper_controller.c155 const struct tmc5041_stepper_config *stepper_config = stepper_data->stepper->config; in stallguard_work_handler() local
160 k_work_reschedule(dwork, K_MSEC(stepper_config->sg_velocity_check_interval_ms)); in stallguard_work_handler()
187 const struct tmc5041_stepper_config *stepper_config = stepper_data->stepper->config; in rampstat_work_handler() local
189 __ASSERT_NO_MSG(stepper_config->controller != NULL); in rampstat_work_handler()
194 err = tmc5041_read(stepper_config->controller, TMC5041_DRVSTATUS(stepper_config->index), in rampstat_work_handler()
203 err = tmc5041_write(stepper_config->controller, in rampstat_work_handler()
204 TMC5041_RAMPMODE(stepper_config->index), in rampstat_work_handler()
214 err = tmc5041_read(stepper_config->controller, TMC5041_RAMPSTAT(stepper_config->index), in rampstat_work_handler()
640 const struct tmc5041_stepper_config *stepper_config = dev->config; in tmc5041_stepper_init() local
644 LOG_DBG("Controller: %s, Stepper: %s", stepper_config->controller->name, dev->name); in tmc5041_stepper_init()
[all …]