SPRUHJ1I January 2013 – October 2021 TMS320F2802-Q1 , TMS320F28026-Q1 , TMS320F28026F , TMS320F28027-Q1 , TMS320F28027F , TMS320F28027F-Q1 , TMS320F28052-Q1 , TMS320F28052F , TMS320F28052F-Q1 , TMS320F28052M , TMS320F28052M-Q1 , TMS320F28054-Q1 , TMS320F28054F , TMS320F28054F-Q1 , TMS320F28054M , TMS320F28054M-Q1 , TMS320F2806-Q1 , TMS320F28062-Q1 , TMS320F28062F , TMS320F28062F-Q1 , TMS320F28068F , TMS320F28068M , TMS320F28069-Q1 , TMS320F28069F , TMS320F28069F-Q1 , TMS320F28069M , TMS320F28069M-Q1
The object is a structure. An example of the park transform structure is shown. Park.h is the file that contains the structure declaration.
typedef struct _PARK_Obj_{
_iq sinTh; //!< the sine of the angle between the d,q and the alpha,beta
coordinate systems
_iq cosTh; //!< the cosine of the angle between the d,q and the alpha,beta
coordinate systems
} PARK_Obj;
Every object has a handle. The handle is a pointer to the object. A handle is very useful when passing objects between functions. Handles to objects also allow functions to work on only that object, or what is called re-entrant code. The handle declaration for the Park transform object is shown.
typedef struct PARK_Obj *PARK_Handle;