Mobil_surveillance_system 1
Ports.h
Go to the documentation of this file.
00001 #ifndef PORTS_H_
00002 #define PORTS_H_
00003 
00005 
00010 #include "msp430f2617.h"
00011 #include "Bitmanip.h"                   // due to: the bit manipulations macros
00012 
00013 //*****************************************************************************
00014 //
00015 // Types and definitions
00016 //
00017 //*****************************************************************************
00018 
00019 #ifndef DEFINE_TBOOLEAN                 // define unsigned char as tBoolean in only that case when it hasn't been defined yet somewhere else in the scope
00020 
00021 // Type definitions 
00022 typedef unsigned char tBoolean;         // use as bool
00023 #define DEFINE_TBOOLEAN
00024 
00025 #endif                                  // DEFINE_TBOOLEAN
00026 
00027 #define LED_NUMBER_3            3
00028 
00029 //*****************************************************************************
00030 //
00031 // Function declarations
00032 //
00033 //*****************************************************************************
00034 
00038 void Ports_setPort2Pin(unsigned char ucPin);
00039 
00040 #endif /*PORTS_H_*/
 All Data Structures Files Functions Variables Typedefs Enumerations Defines