Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/stepper/adi_tmc/
Dadi_tmc5041_stepper_controller.c57 static int tmc5041_write(const struct device *dev, const uint8_t reg_addr, const uint32_t reg_val) in tmc5041_write() function
141 err = tmc5041_write(config->controller, TMC5041_SWMODE(config->index), reg_value); in stallguard_enable()
203 err = tmc5041_write(stepper_config->controller, in rampstat_work_handler()
279 err = tmc5041_write(config->controller, TMC5041_CHOPCONF(config->index), reg_value); in tmc5041_stepper_enable()
325 err = tmc5041_write(config->controller, TMC5041_RAMPMODE(config->index), in tmc5041_stepper_move_by()
332 err = tmc5041_write(config->controller, TMC5041_XTARGET(config->index), target_position); in tmc5041_stepper_move_by()
361 err = tmc5041_write(config->controller, TMC5041_VMAX(config->index), velocity_fclk); in tmc5041_stepper_set_max_velocity()
385 err = tmc5041_write(config->controller, TMC5041_CHOPCONF(config->index), reg_value); in tmc5041_stepper_set_micro_step_res()
418 err = tmc5041_write(config->controller, TMC5041_RAMPMODE(config->index), in tmc5041_stepper_set_reference_position()
424 err = tmc5041_write(config->controller, TMC5041_XACTUAL(config->index), position); in tmc5041_stepper_set_reference_position()
[all …]