Data Structures | Typedefs | Functions
clarke.h File Reference
#include "libraries/math/include/math.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...
 
CLARKE_Handle cla_CLARKE_init (void *pMemory, const size_t numBytes)
 
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 float32_t alpha_sf, const float32_t beta_sf)
 Sets the scale factors. More...
 

Copyright 2023, Texas Instruments Incorporated