Searched refs:stepper_config (Results 1 – 1 of 1) sorted by relevance
| /Zephyr-latest/drivers/stepper/adi_tmc/ |
| D | adi_tmc50xx_stepper_controller.c | 155 const struct tmc50xx_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 tmc50xx_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 = tmc50xx_read(stepper_config->controller, TMC50XX_DRVSTATUS(stepper_config->index), in rampstat_work_handler() 203 err = tmc50xx_write(stepper_config->controller, in rampstat_work_handler() 204 TMC50XX_RAMPMODE(stepper_config->index), in rampstat_work_handler() 214 err = tmc50xx_read(stepper_config->controller, TMC50XX_RAMPSTAT(stepper_config->index), in rampstat_work_handler() 626 const struct tmc50xx_stepper_config *stepper_config = dev->config; in tmc50xx_stepper_init() local 630 LOG_DBG("Controller: %s, Stepper: %s", stepper_config->controller->name, dev->name); in tmc50xx_stepper_init() [all …]
|