Mobil_surveillance_system 1
Timer.h
Go to the documentation of this file.
00001 #ifndef TIMER_H_
00002 #define TIMER_H_
00003 
00005 
00009 #include "msp430f2617.h"
00010 
00011 //*****************************************************************************
00012 //
00013 // Types and definitons
00014 //
00015 //*****************************************************************************
00016 
00018 #define TIMER_OFFSETVALUE_0x8000 0x8000 
00019 
00020 
00021 #ifndef DEFINE_TBOOLEAN                 // define unsigned char as tBoolean in only that case when it hasn't been defined yet somewhere else in the scope
00022 
00023 typedef unsigned char tBoolean;         // use as bool
00024 #define DEFINE_TBOOLEAN
00025 
00026 #endif                                  // DEFINE_TBOOLEAN
00027 
00028 //*****************************************************************************
00029 //
00030 // Globale variables
00031 //
00032 //*****************************************************************************
00033 
00035 extern unsigned char g_ucTimerAexpired;
00036 
00037 //*****************************************************************************
00038 //
00039 // Function definitions
00040 //
00041 //*****************************************************************************
00042 
00043 void Timer_timerAInit(void);
00044 
00045 void Timer_timerAUpStart(void);
00046 
00047 void Timer_timerAStop(void);
00048 
00049 void Timer_timerAReset(void);
00050 
00051 #endif /*TIMER_H_*/
 All Data Structures Files Functions Variables Typedefs Enumerations Defines