Inductance Testing Code

Dependencies:   mbed

Fork of CurrentModeSine by Austin Brown

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Inverter.h Source File

Inverter.h

00001 #ifndef INVERTER_H
00002 #define INVERTER_H
00003 
00004 #include "mbed.h"
00005 #include "inv_config.h"
00006 #include "structs.h"
00007 
00008 
00009 
00010 
00011 class Inverter {
00012 public:
00013     Inverter();
00014     
00015     void Init_PWM(void);
00016     void Init_ADC(void);
00017     void ADCsync(void);
00018     void Init(void);
00019 
00020     void zero_current();
00021     void GetCurrents(FocStruct *focc);
00022     void SetDutyCycles (FocStruct *focc);
00023     
00024     int adc1_raw, adc2_raw;
00025     int adc1_offset, adc2_offset;
00026 
00027 private:
00028 
00029     
00030 
00031 };
00032 
00033 #endif