srcp.h

Go to the documentation of this file.
00001 // ////////////////////////////////////////////////////////////////////////////
00002 // ////////////////////////////////////////////////////////////////////////////
00015 
00016 #ifndef SRCP_H
00017 
00018 #define     SRCP_H
00019 
00020 
00021 // ////////////////////////////////////////////////////////////////////////////
00022 // Includes
00023 // ////////////////////////////////////////////////////////////////////////////
00024 
00025 #include    <stdio.h>
00026 #include    "main.h"
00027 #include    "appl.h"    
00028 #include    "projectdefs.h"
00029 
00030 
00031 // ////////////////////////////////////////////////////////////////////////////
00032 // Defines
00033 // ////////////////////////////////////////////////////////////////////////////
00034 
00035 #ifdef SRCP_C
00036     #define PROTO
00037 #else
00038     #define PROTO extern
00039 #endif
00040 
00041 #define EEPROM_GLS  SRCP_PROTOS_EEPROM_ADD
00042 #define EEPROM_GAS  (SRCP_PROTOS_EEPROM_ADD + (sizeof(SPPROTOCOL)*MAX_PROTO_SLOTS))
00043     
00044 
00045 // ////////////////////////////////////////////////////////////////////////////
00046 // Typedefs
00047 // ////////////////////////////////////////////////////////////////////////////
00048 
00049 
00050 
00051 // ////////////////////////////////////////////////////////////////////////////
00052 // Global variables
00053 // ////////////////////////////////////////////////////////////////////////////
00054 
00062 PROTO SPSRCPCONFIG sPSRCPConfig;
00063 
00064 
00065 // ////////////////////////////////////////////////////////////////////////////
00066 // Function prototypes
00067 // ////////////////////////////////////////////////////////////////////////////
00068 
00069 void SRCP_GetProtoFromEEPROM(BYTE u8ProtoId, SPPROTOCOL * psProto);
00070 void SRCP_WriteProtoToEEPROM(BYTE u8ProtoId, SPPROTOCOL * psProto);
00071 void SRCP_GetSetFromEEPROM(BYTE u8SetIdx, SPSET * psSet);
00072 void SRCP_WriteSetToEEPROM(BYTE u8SetIdx, SPSET * psSet);
00073 
00074 void SRCP_CancelInputProtoDialog(void);
00075 void SRCP_CancelInputSetDialog(void);
00076 
00077 
00081 // ////////////////////////////////////////////////////////////////////////////
00082 // Epilogue
00083 // ////////////////////////////////////////////////////////////////////////////
00084 
00085     #undef      PROTO
00086 #endif

Generated on Sun Nov 27 20:02:39 2011 for eWicht by  doxygen 1.5.5