📄 sysvar.h
字号:
/*******************************************************************************
Copyright (c) 2000, Infineon Technologies. All rights reserved.
No Warranty
Because the program is licensed free of charge, there is no warranty for
the program, to the extent permitted by applicable law. Except when
otherwise stated in writing the copyright holders and/or other parties
provide the program "as is" without warranty of any kind, either
expressed or implied, including, but not limited to, the implied
warranties of merchantability and fitness for a particular purpose. The
entire risk as to the quality and performance of the program is with
you. should the program prove defective, you assume the cost of all
necessary servicing, repair or correction.
In no event unless required by applicable law or agreed to in writing
will any copyright holder, or any other party who may modify and/or
redistribute the program as permitted above, be liable to you for
damages, including any general, special, incidental or consequential
damages arising out of the use or inability to use the program
(including but not limited to loss of data or data being rendered
inaccurate or losses sustained by you or third parties or a failure of
the program to operate with any other programs), even if such holder or
other party has been advised of the possibility of such damages.
*******************************************************************************
Module: SYSVAR.H
Product ID: 22622.1.0.1
Description: Global variable declaration.
******************************************************************************/
// Group= SYSVAR
/* ============================= */
/* Global variable declaration */
/* for module DEBUG.C. */
/* ============================= */
/* Global enable/disable variable for
V24_PRINT() macro */
extern WORD8 G_V24;
/* ============================= */
/* Global variable declaration */
/* for module CONFIG.C. */
/* ============================= */
/* Stores global configuration
settings */
extern WORD8 G_Eeprom[LAST_EEPROM_INDEX];
/* ============================= */
/* Global variable declaration */
/* for module MAIN.C. */
/* ============================= */
/* Global abort variable for
WHILE_NOT_ABORT() macro */
extern BIT G_Abort;
/* Global wait variable for
WAIT() macro */
extern BIT G_Wait;
/* global variable for INTEROP switch
displaying CRC error */
extern BOOL G_Led_Crc_Error;
/* structure for the
Debug_Write_Register_Timer message */
extern T_REGISTER_TIMER G_Register_Timer;
/* Contains the values
of the interrupt source
vector table. */
extern const WORD8 G_Int_Vector [TOTAL_NR_OF_INT];
/* This is the interrupt
disable table:
If a interrupt source is disabled
a counter is increased. This makes
it possible to restore the former
disable state. Each index of the
array corresponds to a interrupt
source:
0 : Interrupt Nr. 0,
1 : Interrupt Nr. 1, ... */
extern WORD8 G_Int_Disable_Count [TOTAL_NR_OF_INT];
/* This variable contains the capabilities
exchanged during g.hs */
extern WORD8 G_Ghs_Capability_List [CAPLIST_LENGTH];
/* Global variable to hold uploaded
SNR data */
extern WORD8 G_Snr [SNR_LENGTH];
/* Global structure used for logging of
time intervals between transceiver states */
extern T_TIMER G_Timer;
/* Global variable to buffer interrupts
to indicate */
extern T_INT_FIFO G_Int_Fifo;
/* ============================= */
/* Global variable declaration */
/* for module SOC_HDLC.C. */
/* ============================= */
/* Stores HDLC enable/disable. */
extern WORD8 G_Socrates_Hdlc_En;
/* Stores HDLC RFIFO size. */
extern WORD8 G_Socrates_Hdlc_Rfifo;
/* Stores HDLC TFIFO size. */
extern WORD8 G_Socrates_Hdlc_Tfifo;
/* Global structure for EOC data. */
extern T_EOC G_Hdlc;
/* ============================= */
/* Global variable declaration */
/* for module SOC_EOC.C. */
/* ============================= */
/* Global structure for EOC data. */
//extern T_EOC G_Eoc;
/* ============================= */
/* Global variable declaration */
/* for module SOC_INI.C. */
/* ============================= */
extern WORD8 G_Emulation_Mode;
/* ============================= */
/* Global variable declaration */
/* for module SOCRAT_B.C. */
/* ============================= */
/* Stores source port number of EPIC
switch function. */
extern WORD8 G_Epic_Switch_Src_Prt;
/* Stores source time slot of EPIC
switch function. */
extern WORD8 G_Epic_Switch_Src_Slt;
/* Stores destination port number of
EPIC switch function. */
extern WORD8 G_Epic_Switch_Dst_Prt;
/* Stores destination time slot of
EPIC switch function. */
extern WORD8 G_Epic_Switch_Dst_Slt;
/* Stores number of time slots to
switch (of EPIC switch function). */
extern WORD8 G_Epic_Switch_Slt_Num;
/* Flag for indication of g.hs states */
extern WORD8 G_Ghsstate_Indication;
/* List to hold the meanings of the
capability list entries */
extern char G_Ghs_Cl_Names [CAPLIST_LENGTH] [16];
/* Array to hold the uploaded CapList */
extern WORD8 G_Ghs_Cl_Upload [CAPLIST_LENGTH];
/* Flag for indicating that state
PROCESSING_CL occurred */
extern BOOL G_Processing_Cl;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -