Jump to main content

##

# 3.3.18.1 mcFlxI_FluxControlInit

## C

    /* Initialize flux control module */
    void  mcFlxI_FluxControlInit( tmcFlx_Parameters_s * const pParameters )

## Summary

Initializes the flux control module

## Description

This function initializes the flux control module by setting up the necessary parameters and linking state variables. It updates the state variable structure, configures the module parameters using the parameter module structure, sets the PI control parameters, and sets the initialization flag.

## 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;

    /** Initialize parameters */
    mcFlxI_FluxControlInit(&fluxParameters);;

## Remarks

None.