Searched refs:tmc5041_read (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/drivers/stepper/adi_tmc/ |
D | adi_tmc5041_stepper_controller.c | 77 static int tmc5041_read(const struct device *dev, const uint8_t reg_addr, uint32_t *reg_val) in tmc5041_read() function 113 err = tmc5041_read(config->controller, TMC5041_SWMODE(config->index), ®_value); in stallguard_enable() 124 err = tmc5041_read(config->controller, TMC5041_VACTUAL(config->index), in stallguard_enable() 194 err = tmc5041_read(stepper_config->controller, TMC5041_DRVSTATUS(stepper_config->index), in rampstat_work_handler() 214 err = tmc5041_read(stepper_config->controller, TMC5041_RAMPSTAT(stepper_config->index), in rampstat_work_handler() 268 err = tmc5041_read(config->controller, TMC5041_CHOPCONF(config->index), ®_value); in tmc5041_stepper_enable() 292 err = tmc5041_read(config->controller, TMC5041_DRVSTATUS(config->index), ®_value); in tmc5041_stepper_is_moving() 376 err = tmc5041_read(config->controller, TMC5041_CHOPCONF(config->index), ®_value); in tmc5041_stepper_set_micro_step_res() 402 err = tmc5041_read(config->controller, TMC5041_CHOPCONF(config->index), ®_value); in tmc5041_stepper_get_micro_step_res() 437 err = tmc5041_read(config->controller, TMC5041_XACTUAL(config->index), position); in tmc5041_stepper_get_actual_position() [all …]
|