Jump to main content

##

# 3.5.12 mcRpeI_RotorPositionEstimReset

## C

    /* Reset rotor position estimation module */
    void mcRpeI_RotorPositionEstimReset( const tmcRpe_Parameters_s * const pParameters )

## Summary

Reset the rotor position estimation module.

## Description

This function resets the rotor position estimation module by linking the state variables and updating the control module's state structure accordingly.

## Precondition

None.

## Parameters

Param | Description
--- | ---
pParameters | A pointer to the rotor position estimation module parameter structure

## Returns

None

## Example

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

    /* Reset rotor position estimation module */
    mcRpeI_RotorPositionEstimReset(&rpeParameters);

## Remarks

None.