|
Zephyr Project API 4.3.99
A Scalable Open Source RTOS
|
Public API for ADI TMCM-3216 stepper motor controller. More...
Go to the source code of this file.
Data Structures | |
| struct | tmcm3216_status |
| Motor status structure for TMCM-3216. More... | |
Functions | |
| int | tmcm3216_set_max_velocity (const struct device *dev, uint32_t velocity) |
| Set maximum velocity for TMCM-3216 motor. | |
| int | tmcm3216_get_max_velocity (const struct device *dev, uint32_t *velocity) |
| Get maximum velocity for TMCM-3216 motor. | |
| int | tmcm3216_set_max_acceleration (const struct device *dev, uint32_t acceleration) |
| Set maximum acceleration for TMCM-3216 motor. | |
| int | tmcm3216_get_actual_velocity (const struct device *dev, int32_t *velocity) |
| Get actual velocity of TMCM-3216 motor. | |
| int | tmcm3216_get_status (const struct device *dev, struct tmcm3216_status *status) |
| Get motor status of TMCM-3216. | |
Public API for ADI TMCM-3216 stepper motor controller.
Get actual velocity of TMCM-3216 motor.
| dev | Pointer to the stepper device |
| velocity | Pointer to store the actual velocity value |
Get maximum velocity for TMCM-3216 motor.
| dev | Pointer to the stepper device |
| velocity | Pointer to store the maximum velocity value |
| int tmcm3216_get_status | ( | const struct device * | dev, |
| struct tmcm3216_status * | status ) |
Get motor status of TMCM-3216.
| dev | Pointer to the stepper device |
| status | Pointer to store the motor status |
Set maximum acceleration for TMCM-3216 motor.
| dev | Pointer to the stepper device |
| acceleration | Maximum acceleration value |