Hi
I want to use a dSPIC33f (16-bit) for a closed-loop dc-dc converter application. I have some difficulty understanding certain details about the fixed point notation and conversions. From sample code, I see certain instructions like:
pvOutputVoltage = (ADCBUF3 << 5);
currentReferenceDynamic = SineTable512[((sineAngle) >> 5)];
I need to understand what the operators "<<" and ">>" do in these instructions. Could someone explain please? Any documents/links that explain these kinds of operations?
Thanks.
ed.
I want to use a dSPIC33f (16-bit) for a closed-loop dc-dc converter application. I have some difficulty understanding certain details about the fixed point notation and conversions. From sample code, I see certain instructions like:
pvOutputVoltage = (ADCBUF3 << 5);
currentReferenceDynamic = SineTable512[((sineAngle) >> 5)];
I need to understand what the operators "<<" and ">>" do in these instructions. Could someone explain please? Any documents/links that explain these kinds of operations?
Thanks.
ed.