Contains phase voltage calculation (VOLREC) functions implementation.
Go to the source code of this file.
Data Structures | |
struct | VOLREC_Obj |
Defines the VOLREC controller object. More... | |
Typedefs | |
typedef struct _VOLREC_Obj_ * | VOLREC_Handle |
Defines the VOLREC_Handle. More... | |
Functions | |
VOLREC_Handle | VOLREC_init (void *pMemory, const size_t numBytes) |
Initializes the Voltage reconstruct module. More... | |
void | VOLREC_reset (VOLREC_Handle handle) |
reset the Phase Voltage reconstruction variables More... | |
void | VOLREC_setParams (VOLREC_Handle handle, const float32_t filterPole_rps, const float32_t ctrlFreq_Hz) |
set the Phase Voltage reconstruction parameters More... | |
static void | VOLREC_calcVolSF (VOLREC_Handle handle, float32_t VaSen) |
Runs the Phase Voltage reconstruction. More... | |
static void | VOLREC_run (VOLREC_Handle handle, float32_t Vdcbus, MATH_Vec3 *pVin, MATH_Vec2 *pVab) |
Runs the Phase Voltage reconstruction. More... | |
static bool | VOLREC_getFlagCalSf (VOLREC_Handle handle) |
Gets the SF enable flag. More... | |
static void | VOLREC_setFlagCalSf (VOLREC_Handle handle, const bool flagCalSf) |
Sets up the SF enable flag. More... | |
static void | VOLREC_enableFlagCalSf (VOLREC_Handle handle) |
Enables the SF enable flag. More... | |
static void | VOLREC_disableFlagEnableSf (VOLREC_Handle handle) |
Disables the SF enable flag. More... | |