ConOpSys V2970  P004.07
ANVILEX control operating system
rtwtypes.h
Go to the documentation of this file.
1 //
2 // File: rtwtypes.h
3 //
4 // Code generated for Simulink model 'DFIG_Model_To_Code'.
5 //
6 // Model version : 1.50
7 // Simulink Coder version : 8.14 (R2018a) 06-Feb-2018
8 // C/C++ source code generated on : Wed May 26 15:58:21 2021
9 //
10 // Target selection: ert.tlc
11 // Embedded hardware selection: Custom Processor->Custom
12 // Code generation objectives:
13 // 1. Execution efficiency
14 // 2. RAM efficiency
15 // Validation result: Not run
16 //
17 
18 #ifndef RTWTYPES_H
19 #define RTWTYPES_H
20 
21 // Logical type definitions
22 #if (!defined(__cplusplus))
23 # ifndef false
24 # define false (0U)
25 # endif
26 
27 # ifndef true
28 # define true (1U)
29 # endif
30 #endif
31 
32 //=======================================================================*
33 // Target hardware information
34 // Device type: Custom Processor->Custom
35 // Number of bits: char: 8 short: 16 int: 32
36 // long: 32 long long: 64
37 // native word size: 32
38 // Byte ordering: LittleEndian
39 // Signed integer division rounds to: Zero
40 // Shift right on a signed integer as arithmetic shift: on
41 // =======================================================================
42 
43 //=======================================================================*
44 // Fixed width word size data types: *
45 // int8_T, int16_T, int32_T - signed 8, 16, or 32 bit integers *
46 // uint8_T, uint16_T, uint32_T - unsigned 8, 16, or 32 bit integers *
47 // real32_T, real64_T - 32 and 64 bit floating point numbers *
48 // =======================================================================
49 typedef signed char int8_T;
50 typedef unsigned char uint8_T;
51 typedef short int16_T;
52 typedef unsigned short uint16_T;
53 typedef int int32_T;
54 typedef unsigned int uint32_T;
55 typedef long long int64_T;
56 typedef unsigned long long uint64_T;
57 typedef float real32_T;
58 typedef double real64_T;
59 
60 //===========================================================================*
61 // Generic type definitions: boolean_T, char_T, byte_T, int_T, uint_T, *
62 // real_T, time_T, ulong_T, ulonglong_T. *
63 // ===========================================================================
64 typedef double real_T;
65 typedef double time_T;
66 typedef unsigned char boolean_T;
67 typedef int int_T;
68 typedef unsigned int uint_T;
69 typedef unsigned long ulong_T;
70 typedef unsigned long long ulonglong_T;
71 typedef char char_T;
72 typedef unsigned char uchar_T;
73 typedef char_T byte_T;
74 
75 //=======================================================================*
76 // Min and Max: *
77 // int8_T, int16_T, int32_T - signed 8, 16, or 32 bit integers *
78 // uint8_T, uint16_T, uint32_T - unsigned 8, 16, or 32 bit integers *
79 // =======================================================================
80 #define MAX_int8_T ((int8_T)(127))
81 #define MIN_int8_T ((int8_T)(-128))
82 #define MAX_uint8_T ((uint8_T)(255U))
83 #define MAX_int16_T ((int16_T)(32767))
84 #define MIN_int16_T ((int16_T)(-32768))
85 #define MAX_uint16_T ((uint16_T)(65535U))
86 #define MAX_int32_T ((int32_T)(2147483647))
87 #define MIN_int32_T ((int32_T)(-2147483647-1))
88 #define MAX_uint32_T ((uint32_T)(0xFFFFFFFFU))
89 #define MAX_int64_T ((int64_T)(9223372036854775807LL))
90 #define MIN_int64_T ((int64_T)(-9223372036854775807LL-1LL))
91 #define MAX_uint64_T ((uint64_T)(0xFFFFFFFFFFFFFFFFULL))
92 
93 // Block D-Work pointer type
94 typedef void * pointer_T;
95 
96 #endif // RTWTYPES_H
97 
98 //
99 // File trailer for generated code.
100 //
101 // [EOF]
102 //
unsigned int uint32_T
Definition: rtwtypes.h:54
char char_T
Definition: rtwtypes.h:71
unsigned short uint16_T
Definition: rtwtypes.h:52
unsigned long long uint64_T
Definition: rtwtypes.h:56
unsigned char uint8_T
Definition: rtwtypes.h:50
unsigned char uchar_T
Definition: rtwtypes.h:72
double real_T
Definition: rtwtypes.h:64
unsigned char boolean_T
Definition: rtwtypes.h:66
float real32_T
Definition: rtwtypes.h:57
double real64_T
Definition: rtwtypes.h:58
double time_T
Definition: rtwtypes.h:65
int int_T
Definition: rtwtypes.h:67
char_T byte_T
Definition: rtwtypes.h:73
unsigned int uint_T
Definition: rtwtypes.h:68
unsigned long long ulonglong_T
Definition: rtwtypes.h:70
int int32_T
Definition: rtwtypes.h:53
unsigned long ulong_T
Definition: rtwtypes.h:69
void * pointer_T
Definition: rtwtypes.h:94
long long int64_T
Definition: rtwtypes.h:55
signed char int8_T
Definition: rtwtypes.h:49
short int16_T
Definition: rtwtypes.h:51