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.

F28M35E20B: Pointer and Struct

Part Number: F28M35E20B
Other Parts Discussed in Thread: C2000WARE, MOTORWARE

Tool/software:

I haved read your project "C2000Ware_MotorControl_SDK_5". In file libraries\observers\esmo\source\esmo.c  There is the following code: 

Void ESMO_resetParams(EMSO_Handle handle)
{
      ESMO_Obj *obj = (ESMO_Obj  *)handle;

      obj -> pll)ui = 0.0f;

      ....

WHY don't you just use the handle variable instead of creating another pointer?