Data Structures | |
struct | _SPDFR_obj_ |
Typedefs | |
typedef struct _SPDFR_obj_ | SPDFR_Obj |
typedef struct _SPDFR_obj_ * | SPDFR_Handle |
Defines the SPDFR handle. More... | |
Functions | |
SPDFR_Handle | SPDFR_init (void *pMemory, const size_t numBytes) |
Set the SPDFR controller. More... | |
void | SPDFR_reset (SPDFR_Handle handle) |
Set the SPDFR controller. More... | |
void | SPDFR_setParams (SPDFR_Handle handle, const USER_Params *pUserParams) |
Set the SPDFR controller. More... | |
static float32_t | SPDFR_getSpeedHz (SPDFR_Handle handle) |
Set the SPDFR controller. More... | |
static void | SPDFR_run (SPDFR_Handle handle, float32_t theta) |
Set the SPDFR controller. More... | |
typedef struct _SPDFR_obj_ SPDFR_Obj |
typedef struct _SPDFR_obj_* SPDFR_Handle |
Defines the SPDFR handle.
SPDFR_Handle SPDFR_init | ( | void * | pMemory, |
const size_t | numBytes | ||
) |
Set the SPDFR controller.
[in] | handle | The SPDFR controller handle |
void SPDFR_reset | ( | SPDFR_Handle | handle | ) |
Set the SPDFR controller.
[in] | handle | The ESMO controller handle |
void SPDFR_setParams | ( | SPDFR_Handle | handle, |
const USER_Params * | pUserParams | ||
) |
Set the SPDFR controller.
[in] | handle | The SPDFR controller handle |
|
inlinestatic |
Set the SPDFR controller.
[in] | handle | The SPDFR controller handle |
References _SPDFR_obj_::speed_Hz.
|
inlinestatic |
Set the SPDFR controller.
[in] | handle | The SPDFR controller handle |
References _SPDFR_obj_::K2, _SPDFR_obj_::K3, MATH_ONE_OVER_TWO_PI, _SPDFR_obj_::scaleFreq, _SPDFR_obj_::speed_Hz, _SPDFR_obj_::speed_pu, _SPDFR_obj_::theta, and _SPDFR_obj_::thetaPrev.