This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F280049C: Unable to Understand PI series function (Ui parameter calculation )

Part Number: TMS320F280049C


Dear All, 

I am working with TI series TMS320F280049C Controller i am using torque_control for my application 

In PI series function calculation i was unable to understand  the function below defined in pi.h

static inline float32_t
PI_getUi(PI_Handle handle)
{
PI_Obj *obj = (PI_Obj *)handle;

return(obj->Ui);
} // end of PI_getUi() function

and PI set function 

static inline void
PI_setUi(PI_Handle handle, const float32_t Ui)
{
PI_Obj *obj = (PI_Obj *)handle;

obj->Ui = Ui;

return;
} // end of PI_setUi() function

where does the initial value for Ui is declared ?

whether it is an constant Value ?

How does the Ui value is computed ?

Please help me in understanding this 

Regards

shivashankar