00001 /*@{*//*@}*/ 00009 00010 #ifndef PEDAL_H 00011 #define PEDAL_H 00012 00013 #ifdef EXPORT 00014 #define EXTERN 00015 #else 00016 #define EXTERN extern 00017 #endif 00018 00019 /******************************************************************************/ 00020 /* Constants (#define) *//*@{*/ 00021 00024 #define PEDAL_TIMEOUT 2000U 00025 00026 /* End: define Constants *//*@}*/ 00027 /******************************************************************************/ 00028 00029 /******************************************************************************/ 00030 /* Macro definitions (#define) *//*@{*/ 00031 /* End: Macro definitions (#define) *//*@}*/ 00032 /******************************************************************************/ 00033 00034 /******************************************************************************/ 00035 /* Basic types (typedef) *//*@{*/ 00036 /* End: Basic types (typedef) *//*@}*/ 00037 /******************************************************************************/ 00038 00039 /******************************************************************************/ 00040 /* Global variables/constan. *//*@{*/ 00041 /* End: Global variables *//*@}*/ 00042 /******************************************************************************/ 00043 00044 /******************************************************************************/ 00045 /* Prototype declarations */ 00046 00047 EXTERN void pedal_Init (void); 00048 EXTERN UINT32 pedal_GetTimeout (void); 00049 EXTERN UINT32 pedal_GetRpm (void); 00050 00051 /* End: Prototype declarations */ 00052 /******************************************************************************/ 00053 00054 #undef EXTERN 00055 #endif /* PEDAL_H */ 00056 00057 /**** Last line of code ****/