3.2.1 mcCurI_CurrentCalculationInit

C


/* Current control initialization function */
void mcCurI_CurrentCalculationInit( tmcCur_ModuleData_s * const pModule )	

Summary

Initialize the Motor phase current calculation function

Description

This function initializes the current calculation module by setting up the required parameters and preparing the module for current calculations.

Precondition

None.

Parameters

ParamDescription
pModule A constant pointer to the module data structure.

Returns

None

Example

tmcCur_ModuleData_s mcCurI_ModuleData_gds;
mcCurI_CurrentCalculationInit(&mcCurI_ModuleData_gds);

Remarks

None.