Go to the documentation of this file.
99 static inline uint_least8_t
258 #endif // end of CLARKE_H defines
static void CLARKE_run_twoInput(CLARKE_Handle handle, const MATH_Vec2 *pInVec, MATH_Vec2 *pOutVec)
Runs the Clarke transform module for two inputs.
Definition: clarke.h:181
Defines a two element vector.
Definition: math.h:218
static uint_least8_t CLARKE_getNumSensors(CLARKE_Handle handle)
Gets the number of sensors.
Definition: clarke.h:100
struct _CLARKE_Obj_ CLARKE_Obj
Defines the CLARKE object.
float float32_t
Definition: sfra_f32.h:42
CLARKE_Handle cla_CLARKE_init(void *pMemory, const size_t numBytes)
float32_t alpha_sf
the scale factor for the alpha component
Definition: clarke.h:73
static void CLARKE_setScaleFactors(CLARKE_Handle handle, const float32_t alpha_sf, const float32_t beta_sf)
Sets the scale factors.
Definition: clarke.h:231
uint_least8_t numSensors
the number of sensors
Definition: clarke.h:75
CLARKE_Handle CLARKE_init(void *pMemory, const size_t numBytes)
Initializes the Clarke transform module.
static void CLARKE_setNumSensors(CLARKE_Handle handle, const uint_least8_t numSensors)
Sets the number of sensors.
Definition: clarke.h:208
float32_t value[3]
Definition: math.h:232
Defines the CLARKE object.
Definition: clarke.h:71
struct _CLARKE_Obj_ * CLARKE_Handle
Defines the CLARKE handle.
Definition: clarke.h:83
static void CLARKE_run(CLARKE_Handle handle, const MATH_Vec3 *pInVec, MATH_Vec2 *pOutVec)
Runs the Clarke transform module for three inputs.
Definition: clarke.h:138
float32_t beta_sf
the scale factor for the beta component
Definition: clarke.h:74
float32_t value[2]
Definition: math.h:220
Defines a three element vector.
Definition: math.h:230
Copyright 2023, Texas Instruments Incorporated