3.5.13 mcRpeI_RotorPositionEstimDisable

C


/* Disable rotor position estimation(RPE) module */
void  mcRpeI_RotorPositionEstimDisable( tmcRpe_Parameters_s * const pParameters )	

Summary

Disable the rotor position estimation module

Description

This function disables the rotor position estimator (RPE) module by linking the state variables, resetting the module if necessary, and disabling the RPE module. It checks the module initialization state and resets the module if it is initialized. Then, it disables the RPE module using state variables and clears the enable flag.

Precondition

None.

Parameters

ParamDescription
pParametersA pointer to the rotor position estimation module parameter structure

Returns

None

Example

// Define the rotor position estimation module data structure
tmcRpe_Parameters_s rpeParameters;

/** Disable rotor position estimation module */
mcRpeI_RotorPositionEstimDisable(&rpeParameters);
    

Remarks

None.