3.7.1 mcVolI_VoltageCalculationInit

C

/* Initialize voltage calculation module */
void  mcVolI_VoltageCalculationInit( tmcVol_ModuleData_s * const pModule )	

Summary

Initializes the voltage calculation module.

Description

This function initializes the voltage calculation module by configuring the necessary parameters and linking state variables. It updates the state variable structure and sets the ADC sensor conversion factor for voltage calculations.

Precondition

None.

Parameters

ParamDescription
pModuleA constant pointer to the module data structure

Returns

None

Example

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


/* Initialize voltage calculation module */
mcVolI_VoltageCalculationInit(&mcVolI_ModuleData_gds);

Remarks

None.