Go to the documentation of this file.
64 #ifdef __TMS320C28XX_CLA__
65 #include "libraries/math/src/float/CLAmath.h"
73 #include "userParams.h"
184 #endif //end of SPEED_CALC_H definition
float32_t speed_Hz
Definition: speedcalc.h:88
struct _SPDCALC_obj_ SPDCALC_Obj
float32_t Kp
Definition: speedcalc.h:82
float float32_t
Definition: sfra_f32.h:42
#define MATH_ONE_OVER_TWO_PI
Defines 1/(2*pi)
Definition: math.h:133
#define MATH_TWO_PI
Defines 2*pi.
Definition: math.h:154
float32_t thetaDelta
Definition: speedcalc.h:89
SPDCALC_Handle SPDCALC_init(void *pMemory, const size_t numBytes)
Set the SPDCALC controller.
#define MATH_PI
Defines pi.
Definition: math.h:140
float32_t Ki
Definition: speedcalc.h:83
struct _SPDCALC_obj_ * SPDCALC_Handle
Defines the ESMO handle.
Definition: speedcalc.h:94
static float32_t SPDCALC_getSpeedHz(SPDCALC_Handle handle)
Set the SPDCALC controller.
Definition: speedcalc.h:113
float32_t Umin
Definition: speedcalc.h:85
static void SPDCALC_run(SPDCALC_Handle handle, float32_t theta)
Set the SPDCALC controller.
Definition: speedcalc.h:122
float32_t err
Definition: speedcalc.h:80
float32_t ref
Definition: speedcalc.h:78
float32_t Umax
Definition: speedcalc.h:84
float32_t Ui
Definition: speedcalc.h:87
float32_t Up
Definition: speedcalc.h:86
void SPDCALC_setParams(SPDCALC_Handle handle, const USER_Params *pUserParams)
Set the SPDCALC controller.
float32_t fbk
Definition: speedcalc.h:79
Definition: speedcalc.h:76
float32_t out
Definition: speedcalc.h:81
void SPDCALC_reset(SPDCALC_Handle handle)
Set the SPDCALC controller.
Defines a structure for the user parameters.
Definition: include/userParams.h:98
Copyright 2023, Texas Instruments Incorporated