RT-AICHIP-sample
type.h
[詳解]
1 /*****************************************************************************
2  * type.h: Type definition Header file for NXP Family
3  * Microprocessors
4  *
5  * Copyright(C) 2006, NXP Semiconductor
6  * All rights reserved.
7  *
8  * History
9  * 2009.04.01 ver 1.00 Preliminary version, first Release
10  *
11 ******************************************************************************/
12 #ifndef __TYPE_H__
13 #define __TYPE_H__
14 
15 // CodeRed - ifdef for GNU added to avoid potential clash with stdint.h
16 #if defined ( __GNUC__ )
17 #include <stdint.h>
18 #else
19 
20 /* exact-width signed integer types */
21 typedef signed char int8_t;
22 typedef signed short int int16_t;
23 typedef signed int int32_t;
24 typedef signed __int64 int64_t;
25 
26  /* exact-width unsigned integer types */
27 typedef unsigned char uint8_t;
28 typedef unsigned short int uint16_t;
29 typedef unsigned int uint32_t;
30 typedef unsigned __int64 uint64_t;
31 
32 #endif // __GNUC__
33 
34 #ifndef NULL
35 #define NULL ((void *)0)
36 #endif
37 
38 #ifndef FALSE
39 #define FALSE (0)
40 #endif
41 
42 #ifndef TRUE
43 #define TRUE (1)
44 #endif
45 
46 #endif /* __TYPE_H__ */
signed __int64 int64_t
Definition: type.h:24
signed int int32_t
Definition: type.h:23
signed char int8_t
Definition: type.h:21
unsigned __int64 uint64_t
Definition: type.h:30
unsigned char uint8_t
Definition: type.h:27
signed short int int16_t
Definition: type.h:22
unsigned short int uint16_t
Definition: type.h:28
unsigned int uint32_t
Definition: type.h:29