/******************************************************************************* * モジュール名称 :グローバル変数定義 * * モジュールラベル :variableApp MEF * * タスク区分 :ヘッダ * * 機能 :グローバル変数定義を行う * * * * 注意 : Sampleとして、 app_variable.c を参照のこと * * 注意 : EDIT権限は、EXT組 (MEFISTOから委託) * * * * Modified : 2012/8/4 A.K. The way of lenght counter check * * was changed (Not absolute lenght * * but variation from initial * * length have to be checked) * * Modified :2012/12/27 Y.K. * *******************************************************************************/ //#include "dpu_api.h" //#include "app.h" // ******************* // ***** MEF-OBS ***** // ******************* // E2PROM Write in APP01 & 02 unsigned char G1uc_MEF_E2PROM; // MEF: E2PROM operation (128B x4) -- 1:start 2:Write-1 3:Write-2 4:Write-3 5:Write-4 0:none unsigned char G1uc_MEF_E2PROM_sum; // MEF: E2PROM check sum // ********************** // ***** MEF-Common ***** // ********************** unsigned char Guc_MEF_HK [36]; //AK// MEFISTO-HK made by MEFISTO FPGA //unsigned char Guc_MEF_SWHK[16]; //AK// MEFISTO-Software-HK made by MEFISTO task(MDP) // ********************** // ***** MEF-DEPLOY ***** // ********************** unsigned short Gus_MEF_D_Timer; //AK// MEFISTO/Deploy: Timer (Remaining time [sec]) (APP01) unsigned char Guc_MEF_D_Off_Chk; //AK// MEFISTO/Deploy: Drive off control: Enable/Disable (APP01) unsigned char Guc_MEF_D_Off_Chk2; //AK120805// MEFISTO/Deploy: Drive off control: Enable/Disable (APP01) unsigned char Guc_MEF_D_Off_Res1; //AK// MEFISTO/Deploy: Drive off control: Action/No Action (APP01) unsigned char Guc_MEF_D_Off_Res2; //AK// MEFISTO/Deploy: Drive off control: ON->OFF / OFF->OFF (APP01) // unsigned char Guc_MEF_D_Off_Det[32]; //AK// MEFISTO/Deploy: Drive off control: History of Event Detection (APP02) int Gi_MEF_D_STEP; //AK// MEFISTO/Deploy: Step counter value in last HK (APP02) //unsigned char Guc_MEF_D_Test; //AK// MEFISTO/Deploy: Test *****TMP***** // int Gi_MEF_D_Para_LA; //AK110611// Deploy counter & step counter check parameter LA int Gi_MEF_D_Para_LB; //AK110611// Deploy counter & step counter check parameter LB int Gi_MEF_D_Para_LD; //AK110611// S1&S2 deploy counters check parameter LD unsigned char Guc_MEF_D_Para_TU; //AK110611// Upper limit of motor temperature unsigned char Guc_MEF_D_Para_TL; //AK110611// Lower limit of motor temperature unsigned char Guc_MEF_D_EMG2; //AK110611// int Gi_MEF_D_LEN1; //AK120804// Reference value of the S1 length counter int Gi_MEF_D_LEN2; //AK120804// Reference value of the S2 lenght counter int Gi_MEF_D_STEP_H; //AK120805// Reference value of the step counter // ************************** // ***** MEF-HV-Breaker ***** // ************************** unsigned char Guc_MEF_H_Para_PU; //AK120421// Upper Limit of HV positive unsigned char Guc_MEF_H_Para_PL; //AK120421// Lower Limit of HV positive unsigned char Guc_MEF_H_Para_NU; //AK120421// Upper Limit of HV negative unsigned char Guc_MEF_H_Para_NL; //AK120421// Lower Limit of HV negative unsigned char Guc_MEF_H_Off_Chk; //AK120421// HV off control enable/disable unsigned char Guc_MEF_H_Off_Res; //AK120421// Result unsigned char Guc_MEF_H_Off_Det[32]; //AK120421// // unsigned char Guc_MEF_Cmd_Cnt; //AK120421// Command Counter // //int Gi_MEF_D_DBG1; //AK120421// For Debug&Test //int Gi_MEF_D_DBG2; //AK120421// For Debug&Test //