00001 /*@{*//*@}*/ 00009 00010 #ifndef VOLTAGE_H 00011 #define VOLTAGE_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 EXTERN void voltage_Init (void); 00042 EXTERN void voltage_Update (void); 00043 EXTERN void voltage_UpdateAvg (void); 00044 EXTERN UINT16 voltage_GetValue (void); 00045 EXTERN UINT16 voltage_GetAvg (void); 00046 EXTERN UINT16 voltage_GetRef (void); 00047 /* End: Prototype declarations */ 00048 /******************************************************************************/ 00049 00050 #undef EXTERN 00051 #endif /* VOLTAGE_H */ 00052 00053 /**** Last line of code ****/