Go to the documentation of this file.
64 #ifdef __TMS320C28XX_CLA__
65 #include "libraries/math/include/CLAmath.h"
69 #endif // __TMS320C28XX_CLA__
163 PARK_init(
void *pMemory,
const size_t numBytes);
181 #ifdef __TMS320C28XX_CLA__
182 #pragma FUNC_ALWAYS_INLINE(PARK_run)
280 #ifdef __TMS320C28XX_CLA__
281 #pragma FUNC_ALWAYS_INLINE(PARK_setup)
289 #ifdef __TMS320C28XX_CLA__
290 obj->
sinTh = CLAsin_inline(Th);
291 obj->
cosTh = CLAcos_inline(Th);
293 obj->
sinTh = __sin(Th);
294 obj->
cosTh = __cos(Th);
295 #endif // __TMS320C28XX_CLA__
316 #endif // end of PARK_H definition
Defines a two element vector.
Definition: math.h:218
Defines the PARK object.
Definition: park.h:77
float float32_t
Definition: sfra_f32.h:42
float32_t cosTh
alpha, beta coordinate systems
Definition: park.h:81
static float32_t PARK_getCosTh(PARK_Handle handle)
Gets the cosine of the angle between the d,q and the alpha, beta coordinate systems.
Definition: park.h:103
static void PARK_setPhasor(PARK_Handle handle, const MATH_Vec2 *pPhasor)
Sets the cosine/sine phasor for the inverse Park transform.
Definition: park.h:236
static void PARK_setSinTh(PARK_Handle handle, const float32_t sinTh)
Sets the sine of the angle between the d,q and the alpha, beta coordinate systems.
Definition: park.h:259
static void PARK_getPhasor(PARK_Handle handle, MATH_Vec2 *pPhasor)
Gets the cosine/sine phasor for the Park transform.
Definition: park.h:122
struct _PARK_Obj_ PARK_Obj
Defines the PARK object.
static void PARK_setup(PARK_Handle handle, const float32_t Th)
Sets up the Park transform module.
Definition: park.h:285
static void PARK_setCosTh(PARK_Handle handle, const float32_t cosTh)
Sets the cosine of the angle between the d,q and the alpha, beta coordinate systems.
Definition: park.h:215
float32_t sinTh
alpha, beta coordinate systems
Definition: park.h:79
struct _PARK_Obj_ * PARK_Handle
Defines the PARK handle.
Definition: park.h:90
static float32_t PARK_getSinTh(PARK_Handle handle)
Gets the sine of the angle between the d,q and the alpha, beta coordinate systems.
Definition: park.h:143
PARK_Handle PARK_init(void *pMemory, const size_t numBytes)
Initializes the Park transform module.
PARK_Handle cla_PARK_init(void *pMemory, const size_t numBytes)
static void PARK_run(PARK_Handle handle, const MATH_Vec2 *pInVec, MATH_Vec2 *pOutVec)
Runs the Park transform module.
Definition: park.h:186
float32_t value[2]
Definition: math.h:220
Copyright 2023, Texas Instruments Incorporated