Tool/software: Code Composer Studio
Hello ;
In UCD3138 PFC Code witch i Download form Power Factor Correction (PFC) Application Development kit .
I frond a function, abs. I use CCS6.0 couldn't find the function define.
Could someone answer me , Does it work? How it work? Why i can't find the define?
Hear are some of the Code:
if(abs(iv.vin_squared_average -(iv.vin_squared_slow_average >> VRECT_SQUARED_SLOW_AVERAGE_SHIFT)) >(iv.vin_squared_slow_average >> (VRECT_SQUARED_SLOW_AVERAGE_SHIFT + 4)))