3.3.23.2 mcRefI_ReferenceControlEnable

C


/* Enable reference control module */
void  mcRefI_ReferenceControlEnable( tmcRef_Parameters_s * const pParameters )	

Summary

Enables the reference control module.

Description

This function enables the reference control module by linking the state variables, initializing the module if necessary. It checks the module initialization state and initialize the module if not initialized, and then enable the control module using state variables and sets the enable flag.

Precondition

None.

Parameters

ParamDescription
pParametersA pointer to the reference control module parameter structure

Returns

None

Example

// Define the reference module data structure
tmcRef_Parameters_s refParameters;

/** Enable reference control module */
mcRefI_ReferenceControlEnable(&refParameters);
    

Remarks

None.