MotorWare f2806x Module API Documentation

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Data Structures | Typedefs | Functions
32b/clarke.h File Reference

Contains the public interface to the Clarke transform (CLARKE) 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 | _CLARKE_Obj_
| Defines the CLARKE object. More...

## Typedefs
typedef struct _CLARKE_Obj_ | CLARKE_Obj
| Defines the CLARKE object. More...
typedef struct _CLARKE_Obj_ * | CLARKE_Handle
| Defines the CLARKE handle. More...

## Functions
static uint_least8_t | CLARKE_getNumSensors (CLARKE_Handle handle)
| Gets the number of sensors. More...
CLARKE_Handle | CLARKE_init (void *pMemory, const size_t numBytes)
| Initializes the Clarke transform module. More...
static void | CLARKE_run (CLARKE_Handle handle, const MATH_vec3 *pInVec, MATH_vec2 *pOutVec)
| Runs the Clarke transform module for three inputs. More...
static void | CLARKE_run_twoInput (CLARKE_Handle handle, const MATH_vec2 *pInVec, MATH_vec2 *pOutVec)
| Runs the Clarke transform module for two inputs. More...
static void | CLARKE_setNumSensors (CLARKE_Handle handle, const uint_least8_t numSensors)
| Sets the number of sensors. More...
static void | CLARKE_setScaleFactors (CLARKE_Handle handle, const _iq alpha_sf, const _iq beta_sf)
| Sets the scale factors. More...

## Detailed Description

Contains the public interface to the Clarke transform (CLARKE) module routines.

(C) Copyright 2011, Texas Instruments, Inc.

Definition in file 32b/clarke.h.