File: C:\Users\SLUG\Documents\MATLAB\SLUG_Autopilot\Stable\controlMCUSlugsMKII_dspic\sources\rt_nonfinite.h1 /* 2 * File: rt_nonfinite.h 3 * 4 * Real-Time Workshop code generated for Simulink model controlMCUSlugsMKII. 5 * 6 * Model version : 1.714 7 * Real-Time Workshop file version : 7.5 (R2010a) 25-Jan-2010 8 * Real-Time Workshop file generated on : Tue Nov 23 13:12:51 2010 9 * TLC version : 7.5 (Jan 19 2010) 10 * C source code generated on : Tue Nov 23 13:12:52 2010 11 *-------------------------------------------------------------- 12 * Embedded Coder for Microchip dsPIC family. | 13 * Generate .c and .h files from your Matlab/simulink model | 14 * and compile the diagram to .hex and .coff file that can be | 15 * downloaded directly into the microcontroller | 16 * | 17 * Licence Accorded to Blake Mills | 18 * University of Colorado-Boulder | 19 * | 20 * Written by Lubin KERHUEL - http://www.kerhuel.eu | 21 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | 22 * Version 3.3a 22-Nov-2010 | 23 * For Matlab 7.10 R2010a | 24 *-------------------------------------------------------------- 25 */ 26 27 #ifndef RTW_HEADER_rt_nonfinite_h_ 28 #define RTW_HEADER_rt_nonfinite_h_ 29 #include <stddef.h> 30 #include "rtwtypes.h" 31 32 extern real_T rtInf; 33 extern real_T rtMinusInf; 34 extern real_T rtNaN; 35 extern real32_T rtInfF; 36 extern real32_T rtMinusInfF; 37 extern real32_T rtNaNF; 38 extern void rt_InitInfAndNaN(size_t realSize); 39 extern boolean_T rtIsInf(real_T value); 40 extern boolean_T rtIsInfF(real32_T value); 41 extern boolean_T rtIsNaN(real_T value); 42 extern boolean_T rtIsNaNF(real32_T value); 43 typedef struct { 44 struct { 45 uint32_T wordH; 46 uint32_T wordL; 47 } words; 48 } BigEndianIEEEDouble; 49 50 typedef struct { 51 struct { 52 uint32_T wordL; 53 uint32_T wordH; 54 } words; 55 } LittleEndianIEEEDouble; 56 57 typedef struct { 58 union { 59 real32_T wordLreal; 60 uint32_T wordLuint; 61 } wordL; 62 } IEEESingle; 63 64 #endif /* RTW_HEADER_rt_nonfinite_h_ */ 65 66 /* File trailer for Real-Time Workshop generated code. 67 * 68 * [EOF] 69 */ 70 |