Hybrid sEMG + IMU activated controller for Galileo Bionic Hand Prosthesis
Dependencies: FXAS21000 FXOS8700Q kalman mbed-dsp mbed-rtos mbed
rtwtypes.h
00001 /* 00002 * rtwtypes.h 00003 * 00004 * Code generation for function 'IMU_Classifier' 00005 * 00006 */ 00007 00008 #ifndef __RTWTYPES_H__ 00009 #define __RTWTYPES_H__ 00010 #ifndef __TMWTYPES__ 00011 #define __TMWTYPES__ 00012 00013 /*=======================================================================* 00014 * Target hardware information 00015 * Device type: Generic->MATLAB Host Computer 00016 * Number of bits: char: 8 short: 16 int: 32 00017 * long: 32 long long: 64 00018 * native word size: 32 00019 * Byte ordering: LittleEndian 00020 * Signed integer division rounds to: Zero 00021 * Shift right on a signed integer as arithmetic shift: on 00022 *=======================================================================*/ 00023 00024 /*=======================================================================* 00025 * Fixed width word size data types: * 00026 * int8_T, int16_T, int32_T - signed 8, 16, or 32 bit integers * 00027 * uint8_T, uint16_T, uint32_T - unsigned 8, 16, or 32 bit integers * 00028 * real32_T, real64_T - 32 and 64 bit floating point numbers * 00029 *=======================================================================*/ 00030 00031 typedef signed char int8_T; 00032 typedef unsigned char uint8_T; 00033 typedef short int16_T; 00034 typedef unsigned short uint16_T; 00035 typedef int int32_T; 00036 typedef unsigned int uint32_T; 00037 typedef long long int64_T; 00038 typedef unsigned long long uint64_T; 00039 typedef float real32_T; 00040 typedef double real64_T; 00041 00042 /*===========================================================================* 00043 * Generic type definitions: real_T, time_T, boolean_T, int_T, uint_T, * 00044 * ulong_T, ulonglong_T, char_T and byte_T. * 00045 *===========================================================================*/ 00046 00047 typedef double real_T; 00048 typedef double time_T; 00049 typedef unsigned char boolean_T; 00050 typedef int int_T; 00051 typedef unsigned int uint_T; 00052 typedef unsigned long ulong_T; 00053 typedef unsigned long long ulonglong_T; 00054 typedef char char_T; 00055 typedef char_T byte_T; 00056 00057 /*===========================================================================* 00058 * Complex number type definitions * 00059 *===========================================================================*/ 00060 #define CREAL_T 00061 typedef struct { 00062 real32_T re; 00063 real32_T im; 00064 } creal32_T; 00065 00066 typedef struct { 00067 real64_T re; 00068 real64_T im; 00069 } creal64_T; 00070 00071 typedef struct { 00072 real_T re; 00073 real_T im; 00074 } creal_T; 00075 00076 typedef struct { 00077 int8_T re; 00078 int8_T im; 00079 } cint8_T; 00080 00081 typedef struct { 00082 uint8_T re; 00083 uint8_T im; 00084 } cuint8_T; 00085 00086 typedef struct { 00087 int16_T re; 00088 int16_T im; 00089 } cint16_T; 00090 00091 typedef struct { 00092 uint16_T re; 00093 uint16_T im; 00094 } cuint16_T; 00095 00096 typedef struct { 00097 int32_T re; 00098 int32_T im; 00099 } cint32_T; 00100 00101 typedef struct { 00102 uint32_T re; 00103 uint32_T im; 00104 } cuint32_T; 00105 00106 typedef struct { 00107 int64_T re; 00108 int64_T im; 00109 } cint64_T; 00110 00111 typedef struct { 00112 uint64_T re; 00113 uint64_T im; 00114 } cuint64_T; 00115 00116 00117 /*=======================================================================* 00118 * Min and Max: * 00119 * int8_T, int16_T, int32_T - signed 8, 16, or 32 bit integers * 00120 * uint8_T, uint16_T, uint32_T - unsigned 8, 16, or 32 bit integers * 00121 *=======================================================================*/ 00122 00123 #define MAX_int8_T ((int8_T)(127)) 00124 #define MIN_int8_T ((int8_T)(-128)) 00125 #define MAX_uint8_T ((uint8_T)(255)) 00126 #define MIN_uint8_T ((uint8_T)(0)) 00127 #define MAX_int16_T ((int16_T)(32767)) 00128 #define MIN_int16_T ((int16_T)(-32768)) 00129 #define MAX_uint16_T ((uint16_T)(65535)) 00130 #define MIN_uint16_T ((uint16_T)(0)) 00131 #define MAX_int32_T ((int32_T)(2147483647)) 00132 #define MIN_int32_T ((int32_T)(-2147483647-1)) 00133 #define MAX_uint32_T ((uint32_T)(0xFFFFFFFFU)) 00134 #define MIN_uint32_T ((uint32_T)(0)) 00135 #define MAX_int64_T ((int64_T)(9223372036854775807LL)) 00136 #define MIN_int64_T ((int64_T)(-9223372036854775807LL-1LL)) 00137 #define MAX_uint64_T ((uint64_T)(0xFFFFFFFFFFFFFFFFULL)) 00138 #define MIN_uint64_T ((uint64_T)(0ULL)) 00139 00140 /* Logical type definitions */ 00141 #if !defined(__cplusplus) && !defined(__true_false_are_keywords) 00142 # ifndef false 00143 # define false (0U) 00144 # endif 00145 # ifndef true 00146 # define true (1U) 00147 # endif 00148 #endif 00149 00150 /* 00151 * Maximum length of a MATLAB identifier (function/variable) 00152 * including the null-termination character. Referenced by 00153 * rt_logging.c and rt_matrx.c. 00154 */ 00155 #define TMW_NAME_LENGTH_MAX 64 00156 00157 #endif 00158 #endif 00159 /* End of code generation (rtwtypes.h) */
Generated on Fri Jul 15 2022 02:31:30 by 1.7.2