MotorWare f2806x Module API Documentation
Data Structures | Typedefs | Functions
32b/park.h File Reference

Contains the public interface to the Park transform module routines. More...

#include "sw/modules/iqmath/src/32b/IQmathLib.h"
#include "sw/modules/math/src/32b/math.h"
#include "sw/modules/types/src/types.h"

Go to the source code of this file.

Data Structures

struct  _PARK_Obj_
 Defines the PARK object. More...
 

Typedefs

typedef struct _PARK_Obj_ PARK_Obj
 Defines the PARK object. More...
 
typedef struct _PARK_Obj_PARK_Handle
 Defines the PARK handle. More...
 

Functions

static _iq PARK_getCosTh (PARK_Handle handle)
 Gets the cosine of the angle between the d,q and the alpha,beta coordinate systems. More...
 
static void PARK_getPhasor (PARK_Handle handle, MATH_vec2 *pPhasor)
 Gets the cosine/sine phasor for the Park transform. More...
 
static _iq PARK_getSinTh (PARK_Handle handle)
 Gets the sine of the angle between the d,q and the alpha,beta coordinate systems. More...
 
PARK_Handle PARK_init (void *pMemory, const size_t numBytes)
 Initializes the Park transform module. More...
 
static void PARK_run (PARK_Handle handle, const MATH_vec2 *pInVec, MATH_vec2 *pOutVec)
 Runs the Park transform module. More...
 
static void PARK_setCosTh (PARK_Handle handle, const _iq cosTh)
 Sets the cosine of the angle between the d,q and the alpha,beta coordinate systems. More...
 
static void PARK_setPhasor (PARK_Handle handle, const MATH_vec2 *pPhasor)
 Sets the cosine/sine phasor for the inverse Park transform. More...
 
static void PARK_setSinTh (PARK_Handle handle, const _iq sinTh)
 Sets the sine of the angle between the d,q and the alpha,beta coordinate systems. More...
 
static void PARK_setup (PARK_Handle handle, const _iq angle_pu)
 Sets up the Park transform module. More...
 

Detailed Description

Contains the public interface to the Park transform module routines.

(C) Copyright 2011, Texas Instruments, Inc.

Definition in file 32b/park.h.