44 #ifdef __TMS320C28XX_CLA__
133 extern PARK_Handle
PARK_init(
void *pMemory,
const size_t numBytes);
140 #ifdef __TMS320C28XX_CLA__
141 #pragma FUNC_ALWAYS_INLINE(PARK_run)
153 pOutVec->
value[0] = (value_0 *
cosTh) + (value_1 * sinTh);
154 pOutVec->
value[1] = (value_1 *
cosTh) - (value_0 * sinTh);
203 #ifdef __TMS320C28XX_CLA__
204 #pragma FUNC_ALWAYS_INLINE(PARK_setup)
210 #ifdef __TMS320C28XX_CLA__
211 obj->
sinTh = CLAsin_inline(Th);
212 obj->
cosTh = CLAcos_inline(Th);
227 #endif // end of _PARK_H_ definition
long double double_t
Defines the portable data type for 64 bit, signed floating-point data.
static void PARK_setSinTh(PARK_Handle handle, const float_t sinTh)
Sets the sine of the angle between the d,q and the alpha,beta coordinate systems. ...
static void PARK_setCosTh(PARK_Handle handle, const float_t cosTh)
Sets the cosine of the angle between the d,q and the alpha,beta coordinate systems.
static float_t PARK_getCosTh(PARK_Handle handle)
Gets the cosine of the angle between the d,q and the alpha,beta coordinate systems.
Contains the public interface to the math (MATH) module routines.
Defines a two element vector.
static void PARK_run(PARK_Handle handle, const MATH_vec2 *pInVec, MATH_vec2 *pOutVec)
Runs the Park transform module.
float_t cosTh
the cosine of the angle between the d,q and the alpha,beta coordinate systems
static void PARK_getPhasor(PARK_Handle handle, MATH_vec2 *pPhasor)
Gets the cosine/sine phasor for the Park transform.
_iq cosTh
the cosine of the angle between the d,q and the alpha,beta coordinate systems
static void PARK_setPhasor(PARK_Handle handle, const MATH_vec2 *pPhasor)
Sets the cosine/sine phasor for the inverse Park transform.
struct _PARK_Obj_ * PARK_Handle
Defines the PARK handle.
static void PARK_setup(PARK_Handle handle, const float_t Th)
Sets up the Park transform module.
struct _PARK_Obj_ PARK_Obj
Defines the PARK object.
_iq sinTh
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
PARK_Handle PARK_init(void *pMemory, const size_t numBytes)
Initializes the Park transform module.
float float_t
Defines the portable data type for 32 bit, signed floating-point data.
static float_t PARK_getSinTh(PARK_Handle handle)
Gets the sine of the angle between the d,q and the alpha,beta coordinate systems. ...