Part Number: TMS320F28069M
Tool/software: Code Composer Studio
Hi folks,
I am trying to use the single-phase PLL structure in a simple program.
I added the followings lines to my program
#include "SPLL_1ph.h"
SPLL_1ph spll1;
SPLL_1ph_init(50,(0.00005),&spll1);
spll1.AC_input = (float)(ADC_B.ADC2);
SPLL_run(&spll1);
I got some errors in line 2.
"error: expected a type specifier"
"error: declaration is incompatible with "void SPLL_1ph_init(float, float, SPLL_1ph *)" (declared at line 37 of "C:\SPLL_1ph.h")"
I also used the (float) type conversion before 50 and (0.00005), and I got same errors.