Zephyr Project API 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
tmcm3216_status Struct Reference

Motor status structure for TMCM-3216. More...

#include <stepper_tmcm3216.h>

Data Fields

bool position_reached
 Position target reached.
bool right_endstop
 Right limit switch active.
bool left_endstop
 Left limit switch active.
bool is_moving
 Motor is currently moving.
int32_t actual_position
 Current position.
int32_t actual_velocity
 Current velocity.

Detailed Description

Motor status structure for TMCM-3216.

Field Documentation

◆ actual_position

int32_t tmcm3216_status::actual_position

Current position.

◆ actual_velocity

int32_t tmcm3216_status::actual_velocity

Current velocity.

◆ is_moving

bool tmcm3216_status::is_moving

Motor is currently moving.

◆ left_endstop

bool tmcm3216_status::left_endstop

Left limit switch active.

◆ position_reached

bool tmcm3216_status::position_reached

Position target reached.

◆ right_endstop

bool tmcm3216_status::right_endstop

Right limit switch active.


The documentation for this struct was generated from the following file: