]>
Commit | Line | Data |
---|---|---|
1 | //----------------------------------------------------------------------------- | |
2 | // Hagen Fritsch - June 2010 | |
3 | // | |
4 | // This code is licensed to you under the terms of the GNU GPL, version 2 or, | |
5 | // at your option, any later version. See the LICENSE.txt file for the text of | |
6 | // the license. | |
7 | ||
8 | //----------------------------------------------------------------------------- | |
9 | // Interlib Definitions | |
10 | //----------------------------------------------------------------------------- | |
11 | ||
12 | #ifndef __COMMON_H | |
13 | #define __COMMON_H | |
14 | ||
15 | #include <stddef.h> | |
16 | #include <stdint.h> | |
17 | #include <stdbool.h> | |
18 | #include <at91sam7s512.h> | |
19 | typedef unsigned char byte_t; | |
20 | ||
21 | #define MIN(a, b) (((a) < (b)) ? (a) : (b)) | |
22 | #define MAX(a, b) (((a) > (b)) ? (a) : (b)) | |
23 | ||
24 | #endif |