3.3.18.5 mcFlxI_FluxControlDisable
C
/* Disable flux control module */ void mcFlxI_FluxControlDisable( tmcFlx_Parameters_s * const pParameters )
Summary
Disables the flux control module.
Description
This function disables the flux control module by linking the state variables, resetting the module if necessary. It checks the module initialization state, resets the module if it is initialized, and then disable the control module by updating the state variables and clearing the enable 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;
/** Disable flux control module */
mcFlxI_FluxControlDisable(&fluxParameters);
Remarks
None.