Contains space vector generation current (SVGENCURRENT) functions implementation.
|
SVGENCURRENT_Handle | SVGENCURRENT_init (void *pMemory, const size_t numBytes) |
| Initializes the svgen current object. More...
|
|
void | SVGENCURRENT_setup (SVGENCURRENT_Handle handle, const float32_t minWidth_usec, const float32_t pwmFreq_kHz, const float32_t systemFreq_MHz) |
| Sets up the PWM minimum width. More...
|
|
static void | SVGENCURRENT_setMinWidth (SVGENCURRENT_Handle handle, const int16_t minwidth) |
| Sets the minimum Duty Cycle width that the lower switch can be on before. More...
|
|
static void | SVGENCURRENT_setIgnoreShunt (SVGENCURRENT_Handle handle, const SVGENCURRENT_IgnoreShunt_e ignoreShunt) |
| Sets the ignore shunt value. More...
|
|
static void | SVGENCURRENT_setMode (SVGENCURRENT_Handle handle, const SVGENCURRENT_MeasureShunt_e compMode) |
| Sets the compensation mode. More...
|
|
static void | SVGENCURRENT_setVlimit (SVGENCURRENT_Handle handle, const float32_t Vlimit) |
| Sets the output voltage limit value for gurrantee a current sampling. More...
|
|
static SVGENCURRENT_IgnoreShunt_e | SVGENCURRENT_getIgnoreShunt (SVGENCURRENT_Handle handle) |
| Gets the ignore shunt value. More...
|
|
static int16_t | SVGENCURRENT_getMinWidth (SVGENCURRENT_Handle handle) |
| Gets the minimum Duty Cycle width that the lower switch can be on before. More...
|
|
static float32_t | SVGENCURRENT_getVlimit (SVGENCURRENT_Handle handle) |
| Gets the Voltage(Duty) Limit value. More...
|
|
static SVGENCURRENT_MeasureShunt_e | SVGENCURRENT_getMode (SVGENCURRENT_Handle handle) |
| Gets the current reconstruction mode. More...
|
|
static SVGENCURRENT_VmidShunt_e | SVGENCURRENT_getVmid (SVGENCURRENT_Handle handle) |
| Gets the middle amplitude voltage. More...
|
|
static void | SVGENCURRENT_RunIgnoreShunt (SVGENCURRENT_Handle handle, uint16_t cmp1, uint16_t cmp2, uint16_t cmp3, uint16_t cmpM1, uint16_t cmpM2, uint16_t cmpM3) |
| Gets the svgen current module ignore shunt. More...
|
|
static void | SVGENCURRENT_RunRegenCurrent (SVGENCURRENT_Handle handle, MATH_Vec3 *pADCData, MATH_Vec3 *pADCDataPrev) |
| Reconstructs the missed measured currents due to a small sampling window. More...
|
|
static void | SVGENCURRENT_compPWMData (SVGENCURRENT_Handle handle, MATH_Vec3 *pPWMData, MATH_Vec3 *pPWMData_prev) |
| output voltage reconsturction to guarantee min duty in two phase at least More...
|
|