Jump to main content

##

# 3.3.3 mcFocI_FieldOrientedControlSlow

## C

    /*Execute Field Oriented Control (FOC) slow loop */
    void mcFocI_FieldOrientedControlSlow( const tmcFocI_ModuleData_s * const pParameters )

## Summary

Executes the slow loop of the FOC algorithm.

## Description

This function executes the slow-loop tasks of the FOC algorithm, invoked by the `mcAppI_1msTasksHandler` API.

## Precondition

None.

## Parameters

Param | Description
--- | ---
pParameters | A pointer to the FOC module parameter structure.

## Returns

None

## Example

    tmcFocI_ModuleData_s mcFocI_ModuleData_gds;
    /** Field Oriented control - Slow Tasks */
    mcFocI_FieldOrientedControlSlow(&mcFocI_ModuleData_gds);

## Remarks

None.