44 #ifdef __TMS320C28XX_CLA__
135 extern IPARK_Handle
IPARK_init(
void *pMemory,
const size_t numBytes);
142 #ifdef __TMS320C28XX_CLA__
143 #pragma FUNC_ALWAYS_INLINE(IPARK_run)
155 pOutVec->
value[0] = (value_0 *
cosTh) - (value_1 * sinTh);
156 pOutVec->
value[1] = (value_1 *
cosTh) + (value_0 * sinTh);
209 #ifdef __TMS320C28XX_CLA__
210 obj->
sinTh = CLAsin_inline(Th);
211 obj->
cosTh = CLAcos_inline(Th);
226 #endif // end of _IPARK_H_ definition
struct _IPARK_Obj_ IPARK_Obj
Defines the IPARK object.
IPARK_Handle IPARK_init(void *pMemory, const size_t numBytes)
Initializes the inverse Park transform module.
long double double_t
Defines the portable data type for 64 bit, signed floating-point data.
static float_t IPARK_getSinTh(IPARK_Handle handle)
Gets the sine of the angle between the d,q and the alpha,beta coordinate systems. ...
float_t sinTh
the sine of the angle between the d,q and the alpha,beta coordinate systems
static void IPARK_setup(IPARK_Handle handle, const float_t Th)
Sets up the inverse Park transform module.
Contains the public interface to the math (MATH) module routines.
Defines a two element vector.
Defines the IPARK object.
static void IPARK_getPhasor(IPARK_Handle handle, MATH_vec2 *pPhasor)
Gets the cosine/sine phasor for the inverse Park transform.
_iq cosTh
the cosine of the angle between the d,q and the alpha,beta coordinate systems
static void IPARK_setPhasor(IPARK_Handle handle, const MATH_vec2 *pPhasor)
Sets the cosine/sine phasor for the inverse Park transform.
static void IPARK_setCosTh(IPARK_Handle handle, const float_t cosTh)
Sets the cosine of the angle between the d,q and the alpha,beta coordinate systems.
_iq sinTh
the sine of the angle between the d,q and the alpha,beta coordinate systems
float_t cosTh
the cosine of the angle between the d,q and the alpha,beta coordinate systems
static float_t IPARK_getCosTh(IPARK_Handle handle)
Gets the cosine of the angle between the d,q and the alpha,beta coordinate systems.
struct _IPARK_Obj_ * IPARK_Handle
Defines the IPARK handle.
static void IPARK_setSinTh(IPARK_Handle handle, const float_t sinTh)
Sets the sine of the angle between the d,q and the alpha,beta coordinate systems. ...
static void IPARK_run(IPARK_Handle handle, const MATH_vec2 *pInVec, MATH_vec2 *pOutVec)
Runs the inverse Park transform module.
float float_t
Defines the portable data type for 32 bit, signed floating-point data.