ISF  2.1
Intelligent Sensing Framework for Kinetis with Processor Expert
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
isf_types.h
Go to the documentation of this file.
1 /**
2  * @file isf_types.h
3  * @brief The \b isf_types.h file contains the ISF data type definitions and some of the globally used macros.
4  *
5  * @copyright Copyright (c) 2013, Freescale Semiconductor, Inc.
6  */
7 
8 #ifndef TYPES_H_
9 #define TYPES_H_
10 
11 /*! @brief This defines int8 as char. */
12 // Note: int8 already defined in psptypes.h for Kinetis
13 //typedef char int8;
14 
15 /*! @brief This defines vint8 as volatile char. */
16 typedef volatile char vint8;
17 /*! @brief This defines uint8 as unsigned char. */
18 typedef unsigned char uint8;
19 /*! @brief This defines vuint8 as volatile unsigned char. */
20 typedef volatile unsigned char vuint8;
21 
22 /*! @brief This defines int16 as short. */
23 typedef short int16;
24 /*! @brief This defines vint16 as volatile short. */
25 typedef volatile short vint16;
26 /*! @brief This defines uint16 as unsigned short. */
27 typedef unsigned short uint16;
28 /*! @brief This defines vuint16 as volatile unsigned short. */
29 typedef volatile unsigned short vuint16;
30 
31 /*! @brief This defines int32 as long. */
32 typedef long int32;
33 /*! @brief This defines vint32 as volatile long. */
34 typedef volatile long vint32;
35 /*! @brief This defines uint32 as unsigned long. */
36 typedef unsigned long uint32;
37 /*! @brief This defines vuint32 as volatile unsigned long. */
38 typedef volatile unsigned long vuint32;
39 
40 /*! @brief This defines int64 as long long. */
41 typedef long long int64;
42 /*! @brief This defines vint64 as volatile long long. */
43 typedef volatile long long vint64;
44 /*! @brief This defines uint64 as unsigned long long. */
45 typedef unsigned long long uint64;
46 /*! @brief This defines vuint64 as volatile unsigned long long. */
47 typedef volatile unsigned long long vuint64;
48 
49 
50 
51 #ifndef TRUE
52  #define TRUE (1)
53 #endif
54 
55 #ifndef FALSE
56  #define FALSE (0)
57 #endif
58 
59 #ifndef YES
60  #define YES (1)
61 #endif
62 
63 #ifndef NO
64  #define NO (0)
65 #endif
66 
67 #endif /* TYPES_H_ */
68 
unsigned char uint8
This defines uint8 as unsigned char.
Definition: isf_types.h:18
volatile long vint32
This defines vint32 as volatile long.
Definition: isf_types.h:34
volatile unsigned char vuint8
This defines vuint8 as volatile unsigned char.
Definition: isf_types.h:20
volatile unsigned long vuint32
This defines vuint32 as volatile unsigned long.
Definition: isf_types.h:38
unsigned long long uint64
This defines uint64 as unsigned long long.
Definition: isf_types.h:45
unsigned long uint32
This defines uint32 as unsigned long.
Definition: isf_types.h:36
volatile long long vint64
This defines vint64 as volatile long long.
Definition: isf_types.h:43
volatile char vint8
This defines int8 as char.
Definition: isf_types.h:16
long long int64
This defines int64 as long long.
Definition: isf_types.h:41
long int32
This defines int32 as long.
Definition: isf_types.h:32
short int16
This defines int16 as short.
Definition: isf_types.h:23
unsigned short uint16
This defines uint16 as unsigned short.
Definition: isf_types.h:27
volatile short vint16
This defines vint16 as volatile short.
Definition: isf_types.h:25
volatile unsigned short vuint16
This defines vuint16 as volatile unsigned short.
Definition: isf_types.h:29
volatile unsigned long long vuint64
This defines vuint64 as volatile unsigned long long.
Definition: isf_types.h:47