Jump to main content

##

# 3.3.18.18 tmcFlx_Parameters_s Struct

## C

    typedef struct
    {
         float32_t Kp;                           /* Proportional gain for PI controller */
         float32_t Ki;                           /* Integral gain for PI controller */
         float32_t dt;                           /* Sampling time */
    <#if MCPMSMFOC_ENABLE_FW == true >
         tmcMot_PMSM_s * pMotorParameters;       /* Pointer to motor parameters */
         float32_t maxNegativeCurrentInAmps;      /* Maximum negative currents in amperes  */
    </#if>
         void * pStatePointer;                   /* Pointer to the state structure */
    }tmcFlx_Parameters_s;

## Summary

Flux control module parameter structure.

## Description

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

## Remarks

None.