00001 /*@{*//*@}*/ 00009 00010 #ifndef TEMP_H 00011 #define TEMP_H 00012 00013 #ifdef EXPORT 00014 #define EXTERN 00015 #else 00016 #define EXTERN extern 00017 #endif 00018 00019 /******************************************************************************/ 00020 /* Constants (#define) *//*@{*/ 00021 /* End: define Constants *//*@}*/ 00022 /******************************************************************************/ 00023 00024 /******************************************************************************/ 00025 /* Macro definitions (#define) *//*@{*/ 00026 /* End: Macro definitions (#define) *//*@}*/ 00027 /******************************************************************************/ 00028 00029 /******************************************************************************/ 00030 /* Basic types (typedef) *//*@{*/ 00031 /* End: Basic types (typedef) *//*@}*/ 00032 /******************************************************************************/ 00033 00034 /******************************************************************************/ 00035 /* Global variables/constan. *//*@{*/ 00036 /* End: Global variables *//*@}*/ 00037 /******************************************************************************/ 00038 00039 /******************************************************************************/ 00040 /* Prototype declarations */ 00041 00042 EXTERN void temp_Init (void); 00043 EXTERN void temp_Update (void); 00044 EXTERN void temp_Check (void); 00045 EXTERN UINT16 temp_GetAvg (void); 00046 EXTERN UINT16 temp_GetCelsius (UINT16 adc_val); 00047 00048 /* End: Prototype declarations */ 00049 /******************************************************************************/ 00050 00051 #undef EXTERN 00052 #endif /* TIMER_H */ 00053 00054 /**** Last line of code ****/