16FXlib
inttypes.h
Go to the documentation of this file.
1 
2 //*****************************************************************************
3 // Author : Christian Illy
4 // Created : 09.04.2009
5 // Revised : 29.06.2009
6 // Version : 0.1
7 // Target MCU : Fujitsu MB96300 series
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, either version 3 of the License, or
12 // (at your option) any later version.
13 //
14 // This program is distributed in the hope that it will be useful,
15 // but WITHOUT ANY WARRANTY; without even the implied warranty of
16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 // GNU General Public License for more details.
18 //
19 // You should have received a copy of the GNU General Public License
20 // along with this program. If not, see <http://www.gnu.org/licenses/>.
21 //
27 //*****************************************************************************
29 #ifndef INTTYPES_H_
30 #define INTTYPES_H_
31 
35 typedef unsigned char uint8_t;
36 
40 #define UINT8(x) (uint8_t)(x)
41 
45 typedef char int8_t;
46 
50 typedef unsigned int uint16_t;
51 
55 typedef int int16_t;
56 
60 typedef unsigned long uint32_t;
61 
65 typedef long int32_t;
66 
67 #endif /* INTTYPES_H_ */
68 
unsigned long uint32_t
Definition: inttypes.h:60
unsigned int uint16_t
Definition: inttypes.h:50
unsigned char uint8_t
Definition: inttypes.h:35
long int32_t
Definition: inttypes.h:65
char int8_t
Definition: inttypes.h:45
int int16_t
Definition: inttypes.h:55