Alarm Sensor Module  0.1
⇒ back to Project Page
basic_definitions.h
Go to the documentation of this file.
1 /****************************************************************************/
32 #ifndef BASIC_DEFINITIONS_H_INCLUDED
33 #define BASIC_DEFINITIONS_H_INCLUDED
34 
35 
36 
37 
38 /******************************************
39  \internal
40  Include files
41 *******************************************/
42 
43 
44 
45 
46 
47 /******************************************
48  \internal
49  Definitions
50 *******************************************/
51 
52 //attribute for unused variables and functions to avoid compiler warnings
53 #define UNUSED(x) (void)x
54 
55 #define NOP() asm volatile ("nop" ::)
56 
57 
58 
59 //locical values
60 #ifndef TRUE
61 #define TRUE 1
62 #endif
63 #ifndef FALSE
64 #define FALSE 0
65 #endif
66 
67 
68 
69 #endif // BASIC_DEFINITIONS_H_INCLUDED