Inductance Testing Code

Dependencies:   mbed

Fork of CurrentModeSine by Austin Brown

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers foc.h Source File

foc.h

00001 #ifndef FOC_H
00002 #define FOC_H
00003 
00004 #include "structs.h"
00005 #include "mbed.h"
00006 #include "math.h"
00007 #include "math_ops.h"
00008 #include "inv_config.h"
00009 #include "fw_config.h"
00010 
00011 
00012 void svm(float v_bus, float u, float v, float w, float *dtc_u, float *dtc_v, float *dtc_w);
00013 void reset_foc(FocStruct *controller);
00014 void commutate(FocStruct *controller);
00015 void voltage_mode_commutate(FocStruct *controller);
00016 
00017 #endif