Here is the list of speed frequency function APIs sensored speed calculation
|
file | speedfr.h |
| Contains speed frequency functions implementation.
|
|
◆ SPDFR_Handle
Defines the SPDFR handle.
◆ SPDFR_init()
SPDFR_Handle SPDFR_init |
( |
void * |
pMemory, |
|
|
const size_t |
numBytes |
|
) |
| |
Set the SPDFR controller.
- Parameters
-
[in] | pMemory | A pointer to the memory for the SPDFR object |
[in] | numBytes | The number of bytes allocated for the SPDFR object, bytes |
- Returns
- The handle to SPDFR object
◆ SPDFR_reset()
Set the SPDFR controller.
- Parameters
-
[in] | handle | The ESMO controller handle |
◆ SPDFR_setParams()
Set the SPDFR controller.
- Parameters
-
[in] | handle | The SPDFR controller handle |
[in] | pUserParams | The pointer to User_Params object |
◆ SPDFR_getSpeedHz()
Set the SPDFR controller.
- Parameters
-
[in] | handle | The SPDFR controller handle |
◆ SPDFR_run()
Set the SPDFR controller.
- Parameters
-
[in] | handle | The SPDFR controller handle |
[in] | theta | The rotor angle in radians |