1/*
2 * Academic License - for use in teaching, academic research, and meeting
3 * course requirements at degree granting institutions only. Not for
4 * government, commercial, or other organizational use.
5 *
6 * File: rtwtypes.h
7 *
8 * Code generated for Simulink model 'AHRSControl'.
9 *
10 * Model version : 1.115
11 * Simulink Coder version : 9.3 (R2020a) 18-Nov-2019
12 * C/C++ source code generated on : Fri Jul 10 14:44:58 2020
13 */
14
15#ifndef RTWTYPES_H
16#define RTWTYPES_H
17
18/* Logical type definitions */
19#if (!defined(__cplusplus))
20# ifndef false
21# define false (0U)
22# endif
23
24# ifndef true
25# define true (1U)
26# endif
27#endif
28
29/*=======================================================================*
30 * Target hardware information
31 * Device type: Intel->x86-32 (Windows32)
32 * Number of bits: char: 8 short: 16 int: 32
33 * long: 32 long long: 64
34 * native word size: 32
35 * Byte ordering: LittleEndian
36 * Signed integer division rounds to: Zero
37 * Shift right on a signed integer as arithmetic shift: on
38 *=======================================================================*/
39#ifdef PORTABLE_WORDSIZES /* PORTABLE_WORDSIZES defined */
40
41/*=======================================================================*
42 * Host information
43 * Number of bits: char: 8 short: 16 int: 32
44 * long: 32
45 * long long: 64
46 * native word size: 64
47 *=======================================================================*/
48
49/*=======================================================================*
50 * Fixed width word size data types: *
51 * int8_T, int16_T, int32_T - signed 8, 16, or 32 bit integers *
52 * uint8_T, uint16_T, uint32_T - unsigned 8, 16, or 32 bit integers *
53 * real32_T, real64_T - 32 and 64 bit floating point numbers *
54 *=======================================================================*/
55typedef signed char int8_T;
56typedef unsigned char uint8_T;
57typedef short int16_T;
58typedef unsigned short uint16_T;
59typedef int int32_T;
60typedef unsigned int uint32_T;
61typedef float real32_T;
62typedef double real64_T;
63
64/*===========================================================================*
65 * Generic type definitions: boolean_T, char_T, byte_T, int_T, uint_T, *
66 * real_T, time_T, ulong_T, ulonglong_T. *
67 *===========================================================================*/
68typedef double real_T;
69typedef double time_T;
70typedef unsigned char boolean_T;
71typedef int int_T;
72typedef unsigned int uint_T;
73typedef unsigned int ulong_T;
74typedef unsigned long long ulonglong_T;
75typedef char char_T;
76typedef unsigned char uchar_T;
77typedef char_T byte_T;
78typedef long long int64_T;
79typedef unsigned long long uint64_T;
80
81#else /* PORTABLE_WORDSIZES not defined */
82
83/*=======================================================================*
84 * Fixed width word size data types: *
85 * int8_T, int16_T, int32_T - signed 8, 16, or 32 bit integers *
86 * uint8_T, uint16_T, uint32_T - unsigned 8, 16, or 32 bit integers *
87 * real32_T, real64_T - 32 and 64 bit floating point numbers *
88 *=======================================================================*/
89typedef signed char int8_T;
90typedef unsigned char uint8_T;
91typedef short int16_T;
92typedef unsigned short uint16_T;
93typedef int int32_T;
94typedef unsigned int uint32_T;
95typedef long long int64_T;
96typedef unsigned long long uint64_T;
97typedef float real32_T;
98typedef double real64_T;
99
100/*===========================================================================*
101 * Generic type definitions: boolean_T, char_T, byte_T, int_T, uint_T, *
102 * real_T, time_T, ulong_T, ulonglong_T. *
103 *===========================================================================*/
104typedef double real_T;
105typedef double time_T;
106typedef unsigned char boolean_T;
107typedef int int_T;
108typedef unsigned int uint_T;
109typedef unsigned long ulong_T;
110typedef unsigned long long ulonglong_T;
111typedef char char_T;
112typedef unsigned char uchar_T;
113typedef char_T byte_T;
114
115#endif /* PORTABLE_WORDSIZES */
116
117/*=======================================================================*
118 * Min and Max: *
119 * int8_T, int16_T, int32_T - signed 8, 16, or 32 bit integers *
120 * uint8_T, uint16_T, uint32_T - unsigned 8, 16, or 32 bit integers *
121 *=======================================================================*/
122#define MAX_int8_T ((int8_T)(127))
123#define MIN_int8_T ((int8_T)(-128))
124#define MAX_uint8_T ((uint8_T)(255U))
125#define MAX_int16_T ((int16_T)(32767))
126#define MIN_int16_T ((int16_T)(-32768))
127#define MAX_uint16_T ((uint16_T)(65535U))
128#define MAX_int32_T ((int32_T)(2147483647))
129#define MIN_int32_T ((int32_T)(-2147483647-1))
130#define MAX_uint32_T ((uint32_T)(0xFFFFFFFFU))
131#define MAX_int64_T ((int64_T)(9223372036854775807LL))
132#define MIN_int64_T ((int64_T)(-9223372036854775807LL-1LL))
133#define MAX_uint64_T ((uint64_T)(0xFFFFFFFFFFFFFFFFULL))
134
135/* Block D-Work pointer type */
136typedef void * pointer_T;
137
138#endif /* RTWTYPES_H */
139
140/*
141 * File trailer for generated code.
142 *
143 * [EOF]
144 */
145