electronicsman
Full Member level 5
I am referring to the AN1292 application note source code. I have few questions in the fuction
and the function
I am bit confused of the above function. I have shown the calculations in the excel file. My main question is the output of the sincos function. Please help.
Code:
OPENLOOP_RAMPSPEED_INCREASERATE = 10
void CalculateParkAngle(void)
{
else if (Startup_Ramp < END_SPEED)
Startup_Ramp+=OPENLOOP_RAMPSPEED_INCREASERATE;
ParkParm.qAngle += (int)(Startup_Ramp >> 10);
}
and the function
Code:
SinCos();