![Logo](ti_logo.svg) |
AM263x Motor Control SDK
09.02.00
|
|
Go to the documentation of this file.
54 #include "math_types.h"
57 typedef struct _SPDFR_obj_
123 static __attribute__((always_inline))
129 obj->
theta = theta * MATH_ONE_OVER_TWO_PI;
138 else if(error > 0.5f)
174 #endif //end of SPEED_FR_H definition
float32_t thetaPrev
Definition: speedfr.h:60
float32_t speed_Hz
Definition: speedfr.h:65
float32_t K2
Definition: speedfr.h:61
Defines a structure for the user parameters.
Definition: userParams.h:75
float32_t K3
Definition: speedfr.h:62
void SPDFR_setParams(SPDFR_Handle handle, const USER_Params *pUserParams)
Set the SPDFR controller.
float32_t theta
Definition: speedfr.h:59
void SPDFR_reset(SPDFR_Handle handle)
Set the SPDFR controller.
static void SPDFR_run(SPDFR_Handle handle, float32_t theta)
Set the SPDFR controller.
Definition: speedfr.h:124
float32_t speed_pu
Definition: speedfr.h:64
float32_t scaleFreq
Definition: speedfr.h:63
Contains the public interface for the HAL and EST modules.
SPDFR_Handle SPDFR_init(void *pMemory, const size_t numBytes)
Set the SPDFR controller.
struct _SPDFR_obj_ * SPDFR_Handle
Defines the SPDFR handle.
Definition: speedfr.h:70
float float32_t
Definition: dcl_common.h:58
static float32_t SPDFR_getSpeedHz(SPDFR_Handle handle)
Set the SPDFR controller.
Definition: speedfr.h:109