📄 sysfunc.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: SYSFUNC.H
Product ID: 22622.1.0.1
Description: Global function declarations.
******************************************************************************/
// Group= SYSFUNC
/* ============================= */
/* Module init functions */
/* ============================= */
/* Module DEBUG ID 1 */
extern void Debug_Module_Init (void);
/* Module CONFIG ID 6 */
extern void Config_Module_Init (void);
/* Module CUSTOM ID 7 */
extern void Customer_Module_Init (P_DDS_INFO pInfo);
/* Module SOCRAT_B ID 34 */
extern void Socrates_Module_Init (void);
/* Module SOCRAT_B ID 34 */
extern void Register_Module_Init (void);
/* ============================= */
/* Global functions of module */
/* MAIN.C */
/* ============================= */
extern void Enable_Interrupt (WORD8 int_nr);
extern void Disable_Interrupt (WORD8 int_nr);
extern void Start_Timer (WORD8 timer_nr);
extern void Stop_Timer (WORD8 timer_nr);
extern void Write_Eeprom (WORD16 start_index, WORD16 stop_index);
extern void Read_Eeprom (WORD16 start_index, WORD16 stop_index);
extern BOOL Soc_Load (WORD16 address, WORD8 xhuge *data, WORD16 length);
extern void Show_Wait_Sign (void);
/* ============================= */
/* Global functions of module */
/* CONFIG.C */
/* ============================= */
extern WORD8 Config_Check (void);
extern void Initialize_Devices (void);
/* ============================= */
/* Global functions of module */
/* DEBUG.C */
/* ============================= */
extern void Ssc_Write (WORD8 cs, WORD8 nr, WORD8 *data_array);
extern void Ssc_Read (WORD8 cs, WORD8 nr_rc, WORD8 nr_tr, WORD8 *data_array);
extern void Out(WORD16 adr, WORD8 data);
extern WORD8 In(WORD16 adr);
/* ============================= */
/* Global functions of module */
/* EPIC.C */
/* ============================= */
extern void Epic_Init (void);
extern void Epic_Update_Connections (void);
/* ============================= */
/* Global functions of module */
/* FALC.C */
/* ============================= */
extern void Falc_Init (void);
/* ============================= */
/* Global functions of module */
/* SOC_INI.C */
/* ============================= */
extern void Soc_Init (void);
extern void Soc_Set_Mode (void);
extern void Soc_Init_Api (void);
/* ============================= */
/* Global functions of module */
/* SOC_INT.C */
/* ============================= */
extern void Soc_Interrupt_Init (void);
extern void Soc_Int_Fifo_Put (T_INT_TYPE type, WORD32 value);
extern T_INT_TYPE Soc_Int_Fifo_Get (WORD32 *value);
/* ============================= */
/* Global functions of module */
/* FLASH.C */
/* ============================= */
extern void Download_Socrates_Program ( void );
extern void Flash_Download (WORD8 xhuge *start, WORD32 length);
/* ============================= */
/* Global functions of module */
/* SOC_HDLC.C */
/* ============================= */
extern void Soc_Hdlc_Init (void);
extern void Soc_Hdlc_Reset (WORD8 res);
extern int Soc_Hdlc_Transmit (WORD8 cnt, WORD8 *data);
extern void Soc_Hdlc_Transmit_Interrupt (void);
extern void Soc_Hdlc_Receive_Interrupt (WORD8 rpf);
extern void Soc_Hdlc_Error_Interrupt (WORD8 reg);
extern void Soc_Hdlc_Transmit_Ind (void);
extern void Soc_Hdlc_Receive_Ind (void);
extern void Soc_Hdlc_Error_Ind (WORD8 tr, WORD8 rec);
/* ============================= */
/* Global functions of module */
/* SOC_EOC.C */
/* ============================= */
extern void Soc_Eoc_Init (void);
extern void Soc_Eoc_Reset (WORD8 res);
extern int Soc_Eoc_Transmit (WORD16 cnt, WORD8 *data);
extern void Soc_Eoc_Transmit_Interrupt (void);
extern void Soc_Eoc_Receive_Interrupt (void);
extern void Soc_Eoc_Error_Interrupt (WORD8 reg);
extern void Soc_Eoc_Transmit_Ind (void);
extern void Soc_Eoc_Receive_Ind (void);
extern void Soc_Eoc_Error_Ind (void);
/* ============================= */
/* Global functions of module */
/* SOCRAT_B.C */
/* ============================= */
extern void Msg_Soc_Indicate_State_Time (void);
extern void Msg_Soc_Interrupt (T_INT_TYPE type,
WORD8 nr, const WORD8 *data);
/* ============================= */
/* Global functions of module */
/* SOCRAT_B.C */
/* ============================= */
extern void Debuginterface_Module_Init (void);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -