File: Top_Level_Mode_Functional.h1 /* 2 * Code generation for system model 'Top_Level_Mode_Functional' 3 * For more details, see corresponding source file Top_Level_Mode_Functional.c 4 * 5 */ 6 #ifndef RTW_HEADER_Top_Level_Mode_Functional_h_ 7 #define RTW_HEADER_Top_Level_Mode_Functional_h_ 8 #ifndef Top_Level_Mode_Functional_COMMON_INCLUDES_ 9 # define Top_Level_Mode_Functional_COMMON_INCLUDES_ 10 #include <string.h> 11 #include "rtwtypes.h" 12 #include "rtw_continuous.h" 13 #include "rtw_solver.h" 14 #endif /* Top_Level_Mode_Functional_COMMON_INCLUDES_ */ 15 16 #include "Top_Level_Mode_Functional_types.h" 17 18 /* Block signals for model 'Top_Level_Mode_Functional' */ 19 typedef struct { 20 uint8_T TLM_MODE_OUT_Log_Message_ID; /* '<Root>/Top Level Mode Sub-System' */ 21 boolean_T TLM_MODE_OUT_Request_Confirm_Stop;/* '<Root>/Top Level Mode Sub-System' */ 22 } B_Top_Level_Mode_Functional_c_T; 23 24 /* Block states (auto storage) for model 'Top_Level_Mode_Functional' */ 25 typedef struct { 26 real_T confirmStopTimer; /* '<Root>/Top Level Mode Sub-System' */ 27 uint8_T is_active_c2_Top_Level_Mode_Functional;/* '<Root>/Top Level Mode Sub-System' */ 28 uint8_T is_c2_Top_Level_Mode_Functional;/* '<Root>/Top Level Mode Sub-System' */ 29 uint8_T is_TOP_Level_Mode; /* '<Root>/Top Level Mode Sub-System' */ 30 uint8_T is_Confirm_Stop; /* '<Root>/Top Level Mode Sub-System' */ 31 } DW_Top_Level_Mode_Functional_f_T; 32 33 /* Real-time Model Data Structure */ 34 struct tag_RTM_Top_Level_Mode_Functional_T { 35 const char_T **errorStatus; 36 }; 37 38 typedef struct { 39 B_Top_Level_Mode_Functional_c_T rtb; 40 DW_Top_Level_Mode_Functional_f_T rtdw; 41 RT_MODEL_Top_Level_Mode_Functional_T rtm; 42 } MdlrefDW_Top_Level_Mode_Functional_T; 43 44 /* Model reference registration function */ 45 extern void Top_Level_Mode_Functional_initialize(const char_T **rt_errorStatus, 46 RT_MODEL_Top_Level_Mode_Functional_T *const Top_Level_Mode_Functional_M, 47 B_Top_Level_Mode_Functional_c_T *localB, DW_Top_Level_Mode_Functional_f_T 48 *localDW); 49 extern void Top_Level_Mode_Functional_Init(B_Top_Level_Mode_Functional_c_T 50 *localB, DW_Top_Level_Mode_Functional_f_T *localDW); 51 extern void Top_Level_Mode_Functional(const Operator_Commands *rtu_OP_CMD_IN, 52 const Device_Configuration_Inputs *rtu_CONST_IN, Top_Level_Mode_Outputs 53 *rty_TLM_MODE_OUT, B_Top_Level_Mode_Functional_c_T *localB, 54 DW_Top_Level_Mode_Functional_f_T *localDW); 55 56 /*- 57 * The generated code includes comments that allow you to trace directly 58 * back to the appropriate location in the model. The basic format 59 * is <system>/block_name, where system is the system number (uniquely 60 * assigned by Simulink) and block_name is the name of the block. 61 * 62 * Use the MATLAB hilite_system command to trace the generated code back 63 * to the model. For example, 64 * 65 * hilite_system('<S3>') - opens system 3 66 * hilite_system('<S3>/Kp') - opens and selects block Kp which resides in S3 67 * 68 * Here is the system hierarchy for this model 69 * 70 * '<Root>' : 'Top_Level_Mode_Functional' 71 * '<S1>' : 'Top_Level_Mode_Functional/Top Level Mode Sub-System' 72 */ 73 #endif /* RTW_HEADER_Top_Level_Mode_Functional_h_ */ 74 |