42 lines
1.2 KiB
C
42 lines
1.2 KiB
C
#ifndef PARAM
|
|
#define PARAM
|
|
|
|
// Ïåðåìåííûå, êîòîðûå îïðåäåëåíû â param.c (begin)
|
|
//#########################################################################
|
|
unsigned short param[PAR_NUMBER];
|
|
//#########################################################################
|
|
// Ïåðåìåííûå, êîòîðûå îïðåäåëåíû â param.c (end)
|
|
|
|
|
|
|
|
|
|
// Ïåðåìåííûå, êîòîðûå îáúÿâëåíû â param.c (begin)
|
|
//#########################################################################
|
|
extern volatile short state;
|
|
extern volatile short faultNo;
|
|
extern short onceFaultReset;
|
|
extern struct SgmPar sgmPar;
|
|
extern struct Offset offset;
|
|
extern float Kudc;
|
|
extern float Kwm;
|
|
extern short testParamFaultNo;
|
|
extern float IzLim;
|
|
extern float Kme;
|
|
extern struct Protect protect;
|
|
extern float KmeCorr;
|
|
extern volatile struct Out out;
|
|
extern volatile struct Emerg emerg;
|
|
extern struct Rf rf;
|
|
extern struct Rs rs;
|
|
extern struct Rp rp;
|
|
extern struct Cf cf;
|
|
extern struct Csp csp;
|
|
extern struct Cc cc;
|
|
// äëÿ ïåðåäà÷è íà ÂÓ
|
|
extern volatile short inuWork;
|
|
// äëÿ ðàáîòû ñ EEPROM
|
|
extern struct Eprom eprom;
|
|
//#########################################################################
|
|
// Ïåðåìåííûå, êîòîðûå îáúÿâëåíû â param.c (end)
|
|
#endif //PARAM
|