Hi,
I declare a struct called "ST_CTL_PARAM" in ctl_var.h.
And define
volatile ST_CTL_PARAM ctl_par
in boost_Ctr_CLA.cla file.
But "ctl_par.Vpn_sep_co = 13.0;,ctl_par.id_n_lmt = 15.0" can't take effect.
ctl_par.Vpn_sep_co,
ctl_par.id_n_lmt,
are still 0 even after we run through the code below.
However, "ctl_par.coswT=14.0" can take effect.
if we add "PLL_test_num++" below, "ctl_par.Vpn_sep_co = 13.0;,ctl_par.id_n_lmt = 15.0" can take effect.
Why?