запущен проект motor identification c терминалкой
This commit is contained in:
70
Inu_im_1wnd_3lvl/Inu/isr.h
Normal file
70
Inu_im_1wnd_3lvl/Inu/isr.h
Normal file
@@ -0,0 +1,70 @@
|
||||
#ifndef ISR
|
||||
#define ISR
|
||||
|
||||
// Ïåðåìåííûå, êîòîðûå îïðåäåëåíû â isr.c (begin)
|
||||
//#########################################################################
|
||||
struct Offset offset;
|
||||
volatile struct Result result;
|
||||
volatile short state;
|
||||
volatile short faultNo;
|
||||
volatile struct Out out;
|
||||
// Udc
|
||||
float Kudc;
|
||||
volatile float udc1Nf;
|
||||
volatile float udc1;
|
||||
volatile float udc2Nf;
|
||||
volatile float udc2;
|
||||
// Iac
|
||||
volatile float ia1Nf;
|
||||
volatile float ib1Nf;
|
||||
volatile float ix1;
|
||||
volatile float iy1;
|
||||
volatile float iac1Nf;
|
||||
volatile float ia2Nf;
|
||||
volatile float ib2Nf;
|
||||
volatile float ix2;
|
||||
volatile float iy2;
|
||||
volatile float iac2Nf;
|
||||
// Wm
|
||||
float Kwm;
|
||||
volatile float wmNf;
|
||||
volatile float wm;
|
||||
volatile float wmAbs;
|
||||
// Me
|
||||
volatile float kMe;
|
||||
float KmeCorr;
|
||||
float Kme;
|
||||
volatile float meNf;
|
||||
volatile float me;
|
||||
// Pm
|
||||
volatile float pm;
|
||||
// çàùèòû
|
||||
struct Protect protect;
|
||||
volatile struct Emerg emerg;
|
||||
short csmSuccess;
|
||||
// óïðàâëÿþùàÿ ëîãèêà
|
||||
volatile short onceShutdown;
|
||||
volatile short testParamFaultNo;
|
||||
volatile short onceFaultReset;
|
||||
volatile short stopPause;
|
||||
volatile short inuWork;
|
||||
// îáìåí
|
||||
struct Mst mst;
|
||||
//#########################################################################
|
||||
// Ïåðåìåííûå, êîòîðûå îïðåäåëåíû â isr.c (end)
|
||||
|
||||
|
||||
|
||||
|
||||
// Ïåðåìåííûå, êîòîðûå îáúÿâëåíû â isr.c (begin)
|
||||
//#########################################################################
|
||||
extern struct SgmPar sgmPar;
|
||||
extern unsigned short param[];
|
||||
extern volatile short onceUpr;
|
||||
extern volatile float psi;
|
||||
extern float iq1;
|
||||
extern float iq2;
|
||||
extern struct Rp rp;
|
||||
//#########################################################################
|
||||
// Ïåðåìåííûå, êîòîðûå îáúÿâëåíû â isr.c (end)
|
||||
#endif //ISR
|
||||
Reference in New Issue
Block a user