3.4.5 mcRpcI_RotorPositionCalcReset
C
/* Reset rotor position calculation module */
void mcRpcI_RotorPositionCalcReset( const tmcRpc_Parameters_s * const pParameters )
Summary
Reset rotor position calculation module.
Description
This function resets the rotor position calculation module by linking the state variables and updating the control module's parameters to its initial values.
Precondition
None.
Parameters
Param | Description |
---|---|
pParameters | A pointer to the rotor position calculation module parameter structure |
Returns
None
Example
// Define the rotor position calculation module data structure
tmcRpc_Parameters_s rpcParameters;
/** Reset rotor position calculation module */
mcRpcI_RotorPositionCalcReset(&rpcParameters);
Remarks
None.