Jump to main content

##

# 3.7.3 mcVolI_VoltageCalculationReset

## C

    /* Reset voltage calculation */
    void mcVolI_VoltageCalculationReset( tmcVol_ModuleData_s * const pModule )

## Summary

Resets the voltage calculation module to its initial state.

## Description

This function resets the voltage calculation module by clearing all stored values and preparing it for new calculations.

## Precondition

None.

## Parameters

Param | Description
--- | ---
pModule | A pointer to the module data structure, which includes both input and output data relevant to the voltage calculation

## Returns

None

## Example

    // Define the voltage calculation module data structure
    tmcVol_ModuleData_s mcVolI_ModuleData_gds;

    /* Reset voltage calculation */
    mcVolI_VoltageCalculationReset( &mcVolI_ModuleData_gds);

## Remarks

None.