1.2.2.2 mc_speed_t

typedef uint16_t mc_speed_t

Speed as angle units/sample, stored as an unsigned 16-bit integer.

Note:

Use along with the MC_RPM_TO_MCSPEED and MC_MCSPEED_TO_RPM macros defined in motor_control.h.