3.2.4 mcCurI_CurrentCalculationReset
C
/* Function to reset phase current calculation */
void mcCurI_CurrentCalculationReset( tmcCur_ModuleData_s * const pModule )
Summary
Resets the current calculation module state and its parameters.
Description
This function resets the current calculation module by clearing all stored values, preparing it for new calculations.
Precondition
None.
Parameters
Param | Description |
---|---|
pModule | A constant pointer to the module data structure. This structure contains both input and output data relevant to the current calculation |
Returns
None
Example
tmcCur_ModuleData_s mcCurI_ModuleData_gds; mcCurI_CurrentCalculationReset(&mcCurI_ModuleData_gds);
Remarks
None.