| ISF 2.2 rev 5 Intelligent Sensing Framework for Kinetis with Processor Expert

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

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) 2015, Freescale Semiconductor, Inc.
6 */
7
8 #ifndef TYPES_H_
9 #define TYPES_H_
10
11
12 /*! @brief This defines int8 as char. */
13 // Note: int8 already defined in PE_Types.h for Kinetis
14 //typedef char int8;
15
16 /*! @brief This defines vint8 as volatile char. */
17 typedef volatile char vint8;
18
19 /*! @brief This defines uint8 as unsigned char. */
20 // Note: uint8 already defined in PE_Types.h for Kinetis
21 //typedef unsigned char uint8;
22
23 /*! @brief This defines vuint8 as volatile unsigned char. */
24 typedef volatile unsigned char vuint8;
25
26 /*! @brief This defines int16 as short. */
27 // Note: int16 already defined in PE_Types.h for Kinetis
28 //typedef short int16;
29
30 /*! @brief This defines vint16 as volatile short. */
31 typedef volatile short vint16;
32
33 /*! @brief This defines uint16 as unsigned short. */
34 // Note: uint16 already defined in PE_Types.h for Kinetis
35 //typedef unsigned short uint16;
36
37 /*! @brief This defines vuint16 as volatile unsigned short. */
38 typedef volatile unsigned short vuint16;
39
40 /*! @brief This defines int32 as long. */
41 // Note: int32 already defined in PE_Types.h for Kinetis
42 //typedef long int32;
43
44 /*! @brief This defines vint32 as volatile long. */
45 typedef volatile long vint32;
46
47 /*! @brief This defines uint32 as unsigned long. */
48 // Note: uint32 already defined in PE_Types.h for Kinetis
49 //typedef unsigned long uint32;
50
51 /*! @brief This defines vuint32 as volatile unsigned long. */
52 typedef volatile unsigned long vuint32;
53
54 /*! @brief This defines int64 as long long. */
55 typedef long long int64;
56
57 /*! @brief This defines vint64 as volatile long long. */
58 typedef volatile long long vint64;
59
60 /*! @brief This defines uint64 as unsigned long long. */
61 typedef unsigned long long uint64;
62
63 /*! @brief This defines vuint64 as volatile unsigned long long. */
64 typedef volatile unsigned long long vuint64;
65
66 typedef unsigned char byte;
67 typedef unsigned short word;
68 typedef unsigned long dword;
69 typedef unsigned long long dlong;
70 typedef char char_t;
71 /* Other basic data types */
72 typedef signed char int8;
73 typedef signed short int int16;
74 typedef signed long int int32;
75
76 typedef unsigned char uint8;
77 typedef unsigned short int uint16;
78 typedef unsigned long int uint32;
79
80 typedef unsigned long boolean; /* Machine representation of a boolean */
81 #ifndef TRUE
82 #define TRUE (1)
83 #endif
84
85 #ifndef FALSE
86 #define FALSE (0)
87 #endif
88
89 #ifndef YES
90 #define YES (1)
91 #endif
92
93 #ifndef NO
94 #define NO (0)
95 #endif
96
97 #endif /* TYPES_H_ */
98
uint8
unsigned char uint8
Definition: isf_types.h:76
vint32
volatile long vint32
This defines int32 as long.
Definition: isf_types.h:45
vuint8
volatile unsigned char vuint8
This defines uint8 as unsigned char.
Definition: isf_types.h:24
vuint32
volatile unsigned long vuint32
This defines uint32 as unsigned long.
Definition: isf_types.h:52
uint64
unsigned long long uint64
This defines uint64 as unsigned long long.
Definition: isf_types.h:61
vint64
volatile long long vint64
This defines vint64 as volatile long long.
Definition: isf_types.h:58
dword
unsigned long dword
Definition: isf_types.h:68
word
unsigned short word
Definition: isf_types.h:67
vint8
volatile char vint8
This defines int8 as char.
Definition: isf_types.h:17
int16
signed short int int16
Definition: isf_types.h:73
int64
long long int64
This defines int64 as long long.
Definition: isf_types.h:55
dlong
unsigned long long dlong
Definition: isf_types.h:69
int32
signed long int int32
Definition: isf_types.h:74
uint16
unsigned short int uint16
Definition: isf_types.h:77
byte
unsigned char byte
Definition: isf_types.h:66
char_t
char char_t
Definition: isf_types.h:70
boolean
unsigned long boolean
Definition: isf_types.h:80
uint32
unsigned long int uint32
Definition: isf_types.h:78
vint16
volatile short vint16
This defines int16 as short.
Definition: isf_types.h:31
vuint16
volatile unsigned short vuint16
This defines uint16 as unsigned short.
Definition: isf_types.h:38
vuint64
volatile unsigned long long vuint64
This defines vuint64 as volatile unsigned long long.
Definition: isf_types.h:64
int8
signed char int8
Definition: isf_types.h:72
- © Freescale Semiconductor, Inc. 2016. All Rights Reserved.