3.2.7 tmcCur_Parameters_s Struct
C
/* Structure for current parameters: Floating point version */ typedef struct { float32_t adcToCurrentFactor; /* Factor for converting ADC values to current */ #if MCPMSMFOC_OFFSET_OOR == true int16_t minOffset; /* Minimum offset value */ int16_t maxOffset; /* Maximum offset value */ #endif } tmcCur_Parameters_s; /* Structure for current parameters: Fixed point version */ typedef struct { float32_t maxBoardCurrent; /* Maximum board current */ float32_t baseCurrent; /* Base current */ } tmcCur_Parameters_s;
Summary
Motor phase currents parameter structure.
Description
This structure holds the parameter for converting ADC readings to motor currents and current offset limits.
Remarks
Refer the generated header file for the exact typedef signature.