Project

General

Profile

Download (1.28 KB) Statistics
| Branch: | Tag: | Revision:
1 633c646a henryk
/***************************************************************
2
 *
3
 * OpenPICC.org
4
 *
5
 * Copyright 2006 Milosch Meriac <meriac@openbeacon.de>
6
 *
7
 ***************************************************************
8
9
    This program is free software; you can redistribute it and/or modify
10
    it under the terms of the GNU General Public License as published by
11
    the Free Software Foundation; version 2.
12
13
    This program is distributed in the hope that it will be useful,
14
    but WITHOUT ANY WARRANTY; without even the implied warranty of
15
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
    GNU General Public License for more details.
17
18
    You should have received a copy of the GNU General Public License along
19
    with this program; if not, write to the Free Software Foundation, Inc.,
20
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21
22
*/
23
24
#ifndef __OPENPICC_H__
25
#define __OPENPICC_H__
26
27 1dfa375a henryk
#include "board.h"
28
29 633c646a henryk
typedef unsigned char bool_t;
30
typedef unsigned char u_int8_t;
31
typedef unsigned short u_int16_t;
32
typedef unsigned long u_int32_t;
33
typedef signed char s_int8_t;
34
typedef signed short s_int16_t;
35
typedef int s_int32_t;
36
37 1dfa375a henryk
#define int16_t s_int16_t
38
39 ee25d9a0 henryk
#define DA_BASELINE 200
40 633c646a henryk
41 ad5b96d5 henryk
#define DIV_ROUND_UP(a,b) ( (a+(b-1)) / b)
42 e2e37bea henryk
#define MIN(a, b) ((a)>(b)?(b):(a))
43 062f55ca henryk
44 633c646a henryk
#endif/*__OPENPICC_H__*/
Add picture from clipboard (Maximum size: 48.8 MB)