3.3.21.1 mcSupI_OpenLoopStartupInit

C


/* Initialize open loop start-up module */
void  mcSupI_OpenLoopStartupInit( tmcSup_Parameters_s * const pParameters  )	

Summary

Initializes the open loop start-up module.

Description

This function initializes the parameters and state variables for the open-loop start-up sequence in a motor control application. It achieves by configuring the required parameters, linking the state structure to the module, and preparing the module for the open-loop start-up process.

Precondition

None.

Parameters

ParamDescription
pParametersA pointer to the open loop start-up module parameter structure.

Returns

None

Example

// Define the open loop start-up module data structure
tmcSup_Parameters_s supParameters;

/** Initialize parameters */
mcSupI_OpenLoopStartupInit(&supParameters);
    

Remarks

Note: Ensure that the pParameters structure is properly updated with valid values before calling this function