|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Public API for Trinamic Stepper Controller Specific Functions. More...
Go to the source code of this file.
Data Structures | |
| struct | tmc_stallguard_settings |
| Trinamic Stepper StallGuard Settings. More... | |
| struct | tmc_ramp_generator_data |
| Trinamic Stepper Ramp Generator data. More... | |
Macros | |
| #define | TMC_RAMP_VACTUAL_SHIFT 22 |
| #define | TMC_RAMP_XACTUAL_SHIFT 31 |
| #define | TMC_RAMP_DT_SPEC_GET_COMMON(node) |
| Get Trinamic Stepper Ramp Generator data from DT. | |
| #define | TMC_RAMP_DT_SPEC_GET_TMC50XX(node) |
| #define | TMC_RAMP_DT_SPEC_GET_TMC51XX(node) |
Functions | |
| int | tmc50xx_stepper_ctrl_set_ramp (const struct device *dev, const struct tmc_ramp_generator_data *ramp_data) |
| Configure Trinamic Stepper Ramp Generator. | |
| int | tmc50xx_stepper_ctrl_set_max_velocity (const struct device *dev, uint32_t velocity) |
| Set the maximum velocity of the stepper motor. | |
| void | tmc50xx_stepper_ctrl_configure_stallguard (const struct device *dev, const struct tmc_stallguard_settings *sg_settings) |
| Configure TMC50XX Stepper StallGuard settings. | |
| void | tmc51xx_stepper_ctrl_configure_stallguard (const struct device *dev, const struct tmc_stallguard_settings *sg_settings) |
| Configure TMC51XX Stepper StallGuard settings. | |
| int | tmc51xx_stepper_ctrl_set_max_velocity (const struct device *dev, uint32_t velocity) |
| Set the maximum velocity of the stepper motor. | |
Public API for Trinamic Stepper Controller Specific Functions.