Jump to main content

##

# 3.3.23.4 mcRefI_ReferenceControlDisable

## C

    /* Disable reference control module */
    void  mcRefI_ReferenceControlDisable( tmcRef_Parameters_s * const pParameters )

## Summary

Disables the reference control module.

## Description

This function disables the reference 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 reference control module parameter structure

## Returns

None

## Example

    // Define the reference module data structure
    tmcRef_Parameters_s refParameters;

    /** Disable reference control module */
    mcRefI_ReferenceControlDisable( &refParameters);

## Remarks

None.