File: C:\M91449\Perso\RTWdsPIC\Developpements\Forum\resodad_john\myFolder\SDtroubleshooting\SD_Datalogger5_dspic\sources\SD_Datalogger5.h1 /* 2 * File: SD_Datalogger5.h 3 * 4 * Real-Time Workshop code generated for Simulink model SD_Datalogger5. 5 * 6 * Model version : 1.22 7 * Real-Time Workshop file version : 8.0 (R2011a) 09-Mar-2011 8 * Real-Time Workshop file generated on : Tue Jan 17 11:54:59 2012 9 * TLC version : 8.0 (Feb 3 2011) 10 * C source code generated on : Tue Jan 17 11:54:59 2012 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 && Licence Name &&| 18 * && Companie &&| 19 * | 20 * Written by Lubin KERHUEL - http://www.kerhuel.eu | 21 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | 22 * Version &&Version&& && Date &&| 23 * For Matlab && VerMatlab && && Release && | 24 *-------------------------------------------------------------- 25 */ 26 27 #ifndef RTW_HEADER_SD_Datalogger5_h_ 28 #define RTW_HEADER_SD_Datalogger5_h_ 29 #ifndef SD_Datalogger5_COMMON_INCLUDES_ 30 # define SD_Datalogger5_COMMON_INCLUDES_ 31 #include <string.h> 32 #include "rtwtypes.h" 33 #endif /* SD_Datalogger5_COMMON_INCLUDES_ */ 34 35 #include "SD_Datalogger5_types.h" 36 37 /* Macros for accessing real-time model data structure */ 38 #ifndef rtmGetErrorStatus 39 # define rtmGetErrorStatus(rtm) ((void*) 0) 40 #endif 41 42 #ifndef rtmSetErrorStatus 43 # define rtmSetErrorStatus(rtm, val) ((void) 0) 44 #endif 45 46 #ifndef rtmGetStopRequested 47 # define rtmGetStopRequested(rtm) ((void*) 0) 48 #endif 49 50 /* Block signals (auto storage) */ 51 typedef struct { 52 boolean_T DataTypeConversion; /* '<Root>/Data Type Conversion' */ 53 } BlockIO_SD_Datalogger5; 54 55 /* Parameters (auto storage) */ 56 struct Parameters_SD_Datalogger5_ { 57 real_T Constant_Value; /* Expression: 1 58 * Referenced by: '<Root>/Constant' 59 */ 60 }; 61 62 /* Block parameters (auto storage) */ 63 extern Parameters_SD_Datalogger5 SD_Datalogger5_P; 64 65 /* Block signals (auto storage) */ 66 extern BlockIO_SD_Datalogger5 SD_Datalogger5_B; 67 68 /* Model entry point functions */ 69 extern void SD_Datalogger5_initialize(boolean_T firstTime); 70 extern void SD_Datalogger5_step(void); 71 72 /*- 73 * The generated code includes comments that allow you to trace directly 74 * back to the appropriate location in the model. The basic format 75 * is <system>/block_name, where system is the system number (uniquely 76 * assigned by Simulink) and block_name is the name of the block. 77 * 78 * Use the MATLAB hilite_system command to trace the generated code back 79 * to the model. For example, 80 * 81 * hilite_system('<S3>') - opens system 3 82 * hilite_system('<S3>/Kp') - opens and selects block Kp which resides in S3 83 * 84 * Here is the system hierarchy for this model 85 * 86 * '<Root>' : SD_Datalogger5 87 */ 88 #endif /* RTW_HEADER_SD_Datalogger5_h_ */ 89 90 /* File trailer for Real-Time Workshop generated code. 91 * 92 * [EOF] 93 */ 94 |