File: C:\Mariano\Temp\SLUG_Autopilot\Stable\controlMCUSlugsMKII_dspic\sources\controlMCUSlugsMKII_data.c

    1   /*
    2    * File: controlMCUSlugsMKII_data.c
    3    *
    4    * Real-Time Workshop code generated for Simulink model controlMCUSlugsMKII.
    5    *
    6    * Model version                        : 1.716
    7    * Real-Time Workshop file version      : 6.6  (R2007a)  01-Feb-2007
    8    * Real-Time Workshop file generated on : Sat Nov 27 11:43:56 2010
    9    * TLC version                          : 6.6 (Jan 16 2007)
   10    * C source code generated on           : Sat Nov 27 11:43:58 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 Mariano I. Lizarraga                     |
   18    *                     University of California Santa Cruz (UCSC)|
   19    *                                                              |
   20    *   Written by Lubin KERHUEL -  http://www.kerhuel.eu          |
   21    *  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
   22    *   Version 0.99b+                            17-Mar-2009      |
   23    *   For Matlab 7.4             R2007a                          |
   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,                                 /* '<S290>/Gain4' */
   33     0.9966472387F,                       /* '<S236>/e^1' */
   34     0.9933057427F,                       /* '<S236>/ ' */
   35     0.006694257259F,                     /* '<S236>/Sum5' */
   36     0.9933057427F,                       /* '<S233>/Sum3' */
   37     0.9966472387F,                       /* '<S231>/e^1' */
   38     0.9933057427F,                       /* '<S231>/ ' */
   39     0.006694257259F,                     /* '<S231>/Sum5' */
   40     0.9933057427F,                       /* '<S228>/Sum3' */
   41     0.9966472387F,                       /* '<S176>/e^1' */
   42     0.9933057427F,                       /* '<S176>/ ' */
   43     0.006694257259F,                     /* '<S176>/Sum5' */
   44     0.9933057427F,                       /* '<S175>/Sum3' */
   45     0.9966472387F,                       /* '<S159>/e^1' */
   46     0.9933057427F,                       /* '<S159>/ ' */
   47     0.006694257259F,                     /* '<S159>/Sum5' */
   48     0.9933057427F,                       /* '<S156>/Sum3' */
   49     -0.3490658402F,                      /* '<S94>/Add4' */
   50     0.3490658402F,                       /* '<S94>/Add3' */
   51     4.0F,                                /* '<S38>/Divide1' */
   52     4.0F,                                /* '<S38>/Divide2' */
   53     0                                    /* '<Root>/Initialize SPI SSL as  Input' */
   54   };
   55   
   56   /* Constant parameters (auto storage) */
   57   const ConstParam_controlMCUSlugsMKII controlMCUSlugsMKII_ConstP = {
   58     /* Computed Parameter: Gain
   59      * Referenced by blocks:
   60      * '<S206>/UEN 2 NEU'
   61      * '<S207>/UEN 2 NEU'
   62      * '<S144>/UEN 2 NEU'
   63      */
   64     { 0.0F, 0.0F, 1.0F, 0.0F, 1.0F, 0.0F, 1.0F, 0.0F, 0.0F }
   65   };
   66   
   67   /* File trailer for Real-Time Workshop generated code.
   68    *
   69    * [EOF]
   70    */