/** * @File: cont_charg_dc2dc.cla * @Brief: cont_charg_dc2dc.cla * @Created on: May 6, 2021 * @Author: pds ltd * @Project: * @Module Description: */ /**< project based include files */ #include "cont_charg_dc2dc_c.h" #include "cont_cla.h" #include "cont_pfc_c_2.h" #include "cont_inv_dc2ac_c_2.h" /** * @brief CLA task 1 for dc2dc of the charging circuit * @param void * @retval None * @details */ interrupt void Cla1Task1 (void) { if (s_dc2ac_cont_var.inv_dc2ac_enabled == 1) { CLATask1DC2ACCalculation(); } // __mdebugstop(); } /** * @brief CLA task 2 for sin factor a * @param void * @retval None * @details calls the sine factor calcuation and ccl calculation * loop runs at 50kh */ interrupt void Cla1Task2(void) { __mdebugstop(); CLATask2FunctionAVC(); CLATask2FunctionCCL(); } /** * @brief CLA task 3 for the ccl control computation * @param void * @retval None * @brief calls the pfc sin factor calculation at 100khz */ interrupt void Cla1Task3(void) { } /** * @brief * @param void * @retval None * @details */ interrupt void Cla1Task4(void) { } /** * @brief * @param void * @retval None * @details */ interrupt void Cla1Task5 (void) { } /** * @brief CLA task 8 that runs endless background task * @param void * @retval None * @details doing ?? */ interrupt void Cla1Task8(void) { __mdebugstop(); } /** * @brief control law task 4 for * @param void * @retval None * @details */ interrupt void Cla1Task1ISR (void) { } /** * @brief control law task 4 for * @param void * @retval None * @details */ interrupt void Cla1Task8ISR (void) { // Convert result to signed 16-bit and store }