Here is the list of function APIs
Files | |
file | speedcalc.h |
Contains speed calculation functions. | |
Data Structures | |
struct | SPDCALC_Obj |
Functions | |
SPDCALC_Handle | SPDCALC_init (void *pMemory, const size_t numBytes) |
Set the SPDCALC controller. More... | |
void | SPDCALC_reset (SPDCALC_Handle handle) |
Set the SPDCALC controller. More... | |
void | SPDCALC_setParams (SPDCALC_Handle handle, const USER_Params *pUserParams) |
Set the SPDCALC controller. More... | |
static float32_t | SPDCALC_getSpeedHz (SPDCALC_Handle handle) |
Set the SPDCALC controller. More... | |
static void | SPDCALC_run (SPDCALC_Handle handle, float32_t theta) |
Set the SPDCALC controller. More... | |
Typedefs | |
typedef struct _SPDCALC_obj_ * | SPDCALC_Handle |
Defines the ESMO handle. More... | |
typedef struct _SPDCALC_obj_* SPDCALC_Handle |
Defines the ESMO handle.
SPDCALC_Handle SPDCALC_init | ( | void * | pMemory, |
const size_t | numBytes | ||
) |
Set the SPDCALC controller.
[in] | pMemory | A pointer to the memory for the SPDCALC object |
[in] | numBytes | The number of bytes allocated for the SPDCALC object, bytes |
void SPDCALC_reset | ( | SPDCALC_Handle | handle | ) |
Set the SPDCALC controller.
[in] | handle | The ESMO controller handle |
void SPDCALC_setParams | ( | SPDCALC_Handle | handle, |
const USER_Params * | pUserParams | ||
) |
Set the SPDCALC controller.
[in] | handle | The SPDCALC controller handle |
[in] | pUserParams | The pointer to User_Params object |
|
inlinestatic |
Set the SPDCALC controller.
[in] | handle | The SPDCALC controller handle |
|
static |
Set the SPDCALC controller.
[in] | handle | The SPDCALC controller handle |
[in] | theta | The rotor angle in radians |