Tool/software: Code Composer Studio
Refer to slua708, slua712 and slua713
What is the following code?
iv.vin_sum = iv.vin_raw + iv.vin_sum - (iv.vin_sum >> 2);
iv.vin_filtered = iv.vin_sum >> 2;
And what is different between above and the following code?
iv.vin_filtered = iv.vin_raw;