Jump to main content

##

# 3.3.18.6 mcFlxI_FluxControlReset

## C

    /* Reset flux control module */
    void mcFlxI_FluxControlReset( const tmcFlx_Parameters_s * const pParameters )

## Summary

Resets the flux control module.

## Description

This function resets the flux control module by linking the state variables and resetting the associated PI controller. It achieves this by calling the `mcUtils_PiControlReset` function with a zero setpoint and PI controller state structure

## Precondition

None .

## Parameters

Param | Description
--- | ---
pParameters | A pointer to the flux control module parameter structure

## Returns

None

## Example

    // Define the flux module data structure
    tmcFlx_Parameters_s fluxParameters;

    /** Reset flux control module */
    mcFlxI_FluxControlReset(&fluxParameters);

## Remarks

None.