File: D:\Documents\ProcessorSpecificCode\2006_11_xx_MATLAB_Central\models\proc_spec_code_28x\c28x_iir16_demo\c28x_iir16_pcg_ert_rtw\c28x_iir16_pcg.h1 /* 2 * File: c28x_iir16_pcg.h 3 * 4 * Real-Time Workshop code generated for Simulink model c28x_iir16_pcg. 5 * 6 * Model version : 1.140 7 * Real-Time Workshop file version : 6.5 (R2006b) 03-Aug-2006 8 * Real-Time Workshop file generated on : Mon Nov 13 16:50:15 2006 9 * TLC version : 6.5 (Aug 3 2006) 10 * C source code generated on : Mon Nov 13 16:50:15 2006 11 */ 12 #ifndef _RTW_HEADER_c28x_iir16_pcg_h_ 13 #define _RTW_HEADER_c28x_iir16_pcg_h_ 14 #ifndef _c28x_iir16_pcg_COMMON_INCLUDES_ 15 # define _c28x_iir16_pcg_COMMON_INCLUDES_ 16 #include <math.h> 17 #include <stddef.h> 18 #include "rtwtypes.h" 19 #include "c28x_iir16_wrapper.h" 20 #endif /* _c28x_iir16_pcg_COMMON_INCLUDES_ */ 21 22 #include "c28x_iir16_pcg_types.h" 23 24 /* Macros for accessing real-time model data structure */ 25 #ifndef rtmGetErrorStatus 26 # define rtmGetErrorStatus(rtm) ((void*) 0) 27 #endif 28 29 #ifndef rtmSetErrorStatus 30 # define rtmSetErrorStatus(rtm, val) ((void) 0) 31 #endif 32 33 /* Constant parameters (auto storage) */ 34 typedef struct { 35 /* Expression: coeffs 36 * '<S3>/S-Function' 37 */ 38 int16_T SFunction_p2[20]; 39 } ConstParam_c28x_iir16_pcg; 40 41 /* Constant parameters (auto storage) */ 42 extern const ConstParam_c28x_iir16_pcg c28x_iir16_pcg_ConstP; 43 44 /* 45 * Exported Global Signals 46 * 47 * Note: Exported global signals are block signals with an exported global 48 * storage class designation. RTW declares the memory for these signals 49 * and exports their symbols. 50 * 51 */ 52 extern int16_T alg_in1; /* '<Root>/alg_in1' */ 53 extern int16_T alg_out1; /* '<S3>/S-Function' */ 54 55 /* Model entry point functions */ 56 extern void c28x_iir16_pcg_initialize(void); 57 extern void c28x_iir16_pcg_step(void); 58 59 /* 60 * The generated code includes comments that allow you to trace directly 61 * back to the appropriate location in the model. The basic format 62 * is <system>/block_name, where system is the system number (uniquely 63 * assigned by Simulink) and block_name is the name of the block. 64 * 65 * Use the MATLAB hilite_system command to trace the generated code back 66 * to the model. For example, 67 * 68 * hilite_system('<S3>') - opens system 3 69 * hilite_system('<S3>/Kp') - opens and selects block Kp which resides in S3 70 * 71 * Here is the system hierarchy for this model 72 * 73 * '<Root>' : c28x_iir16_pcg 74 * '<S1>' : c28x_iir16_pcg/DocBlock 75 * '<S2>' : c28x_iir16_pcg/c28x_iir16_cfgsubs 76 * '<S3>' : c28x_iir16_pcg/c28x_iir16_cfgsubs/c28x_iir16_rtw 77 */ 78 #endif /* _RTW_HEADER_c28x_iir16_pcg_h_ */ 79 80 /* File trailer for Real-Time Workshop generated code. 81 * 82 * [EOF] 83 */ |