Jump to main content

##

# 3.3.20.1 mcMotI_MotorParametersInit

## C

    /* Motor parameters initialization */
    void mcMotI_MotorParametersInit( tmcMot_PMSM_s * const pParameters )

## Summary

Motor parameters initialization

## Description

This function initializes the motor parameters for a Permanent Magnet Synchronous Motor (PMSM).

## Precondition

None.

## Parameters

Param | Description
--- | ---
pParameters | A pointer to the PMSM motor parameters structure

## Returns

None

## Example

    // Define the motor parameter structure
    tmcMot_PMSM_s motParameters;

    /** Initialize parameters */
    mcMotI_MotorParametersInit( &motParameters);

## Remarks

None.