2026-06-02 12:25 AM
Hi, I downloaded Firmware file from e Design suit for Bi-dir CCM Totem-Pole PFC, while going through code, i noticed that DPC_AverageCurrentCtrl.c file is missing but DPC_AverageCurrentCtrl.h and DPC_AverageCurrentCtrl.a is there, beacsue of this i'm not able find lot of function body i can see function definations and function call but not the body, for example
DPC_AVGCC_AvgCurrentControlActivation(&Current_Control, &LUT_Tables, &PFC_PhaseShedding, &Data_adc, &Data_Set1, &Data_Set2, &Control_Data, &PFC_Control, (int32_t) PFC_VoltageControl.wIpk);
these two functions are called inside timer 3 in app_itp-ccm-bidir.c file but im not finding what's happening inside this file , all i can see is fucntion prototypes which is there inside DPC_AverageCurrentCtrl.h
Could you please clarify whether the implementation of these functions is contained inside the DPC_AverageCurrentCtrl.a library file? If so, is there any documentation or source code available that explains the internal operation of these functions ?
I would appreciate any help in understanding how these functions work and clearing up my doubts.
Thank you
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.