Jump to main content

##

# 3.3.24.8 tmcSpe_Parameters_s Struct

## C

    typedef struct
    {
        float32_t Kp;               /* Proportional gain */
        float32_t Ki;               /* Integral gain */
        float32_t Ymax;             /* Maximum motor current */
        float32_t dt;               /* PWM period */
        void * pStatePointer;       /* Pointer to state information */
    } tmcSpe_Parameters_s;

## Summary

Speed control module input parameter structure.

## Description

This structure holds the parameters for the speed control module, including PI controller gains, sampling time and speed control module state structure.

## Remarks

None.