File: C:\Users\SLUG\Documents\MATLAB\SLUG_Autopilot\Stable\controlMCUSlugsMKII_dspic\sources\controlMCUSlugsMKII_data.c1 /* 2 * File: controlMCUSlugsMKII_data.c 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 #include "controlMCUSlugsMKII.h" 28 #include "controlMCUSlugsMKII_private.h" 29 30 /* Invariant block signals (auto storage) */ 31 ConstBlockIO_controlMCUSlugsMKI controlMCUSlugsMKII_ConstB = { 32 0.0 33 , /* '<S290>/Gain4' */ 34 0.9966472387F 35 , /* '<S236>/e^1' */ 36 0.9933057427F 37 , /* '<S236>/ ' */ 38 0.006694257259F 39 , /* '<S236>/Sum5' */ 40 0.9933057427F 41 , /* '<S233>/Sum3' */ 42 0.9966472387F 43 , /* '<S231>/e^1' */ 44 0.9933057427F 45 , /* '<S231>/ ' */ 46 0.006694257259F 47 , /* '<S231>/Sum5' */ 48 0.9933057427F 49 , /* '<S228>/Sum3' */ 50 0.9966472387F 51 , /* '<S176>/e^1' */ 52 0.9933057427F 53 , /* '<S176>/ ' */ 54 0.006694257259F 55 , /* '<S176>/Sum5' */ 56 0.9933057427F 57 , /* '<S175>/Sum3' */ 58 0.9966472387F 59 , /* '<S159>/e^1' */ 60 0.9933057427F 61 , /* '<S159>/ ' */ 62 0.006694257259F 63 , /* '<S159>/Sum5' */ 64 0.9933057427F 65 , /* '<S156>/Sum3' */ 66 0.3490658402F 67 , /* '<S94>/Add3' */ 68 -0.3490658402F 69 , /* '<S94>/Add4' */ 70 4.0F 71 , /* '<S38>/Divide1' */ 72 4.0F 73 , /* '<S38>/Divide2' */ 74 0 75 /* '<Root>/Initialize SPI SSL as Input' */ 76 }; 77 78 /* Constant parameters (auto storage) */ 79 const ConstParam_controlMCUSlugsMKII controlMCUSlugsMKII_ConstP = { 80 /* Pooled Parameter (Expression: ) 81 * Referenced by: 82 * '<S206>/UEN 2 NEU' 83 * '<S207>/UEN 2 NEU' 84 * '<S144>/UEN 2 NEU' 85 */ 86 { 0.0F, 0.0F, 1.0F, 0.0F, 1.0F, 0.0F, 1.0F, 0.0F, 0.0F } 87 }; 88 89 /* File trailer for Real-Time Workshop generated code. 90 * 91 * [EOF] 92 */ 93 |