File: Top_Level_Mode_Functional_types.h1 /* 2 * Top_Level_Mode_Functional_types.h 3 * 4 * Code generation for model "Top_Level_Mode_Functional". 5 * 6 * Model version : 1.1167 7 * Simulink Coder version : 8.4 (R2013a) 13-Feb-2013 8 * C source code generated on : Thu Sep 12 09:50:34 2013 9 * 10 * Target selection: grt.tlc 11 * Note: GRT includes extra infrastructure and instrumentation for prototyping 12 * Embedded hardware selection: 32-bit Generic 13 * Code generation objective: Debugging 14 * Validation result: Not run 15 */ 16 #ifndef RTW_HEADER_Top_Level_Mode_Functional_types_h_ 17 #define RTW_HEADER_Top_Level_Mode_Functional_types_h_ 18 #include "rtwtypes.h" 19 #ifndef _DEFINED_TYPEDEF_FOR_Operator_Commands_ 20 #define _DEFINED_TYPEDEF_FOR_Operator_Commands_ 21 22 typedef struct { 23 boolean_T System_Start; 24 boolean_T System_Stop; 25 boolean_T Infusion_Initiate; 26 boolean_T Infusion_Inhibit; 27 boolean_T Infusion_Cancel; 28 boolean_T Data_Config; 29 boolean_T Next; 30 boolean_T Back; 31 boolean_T Cancel; 32 boolean_T Keyboard; 33 uint8_T Disable_Audio; 34 boolean_T Notification_Cancel; 35 uint8_T Configuration_Type; 36 boolean_T Confirm_Stop; 37 } Operator_Commands; 38 39 #endif 40 41 #ifndef _DEFINED_TYPEDEF_FOR_Device_Configuration_Inputs_ 42 #define _DEFINED_TYPEDEF_FOR_Device_Configuration_Inputs_ 43 44 typedef struct { 45 uint8_T Audio_Enable_Duration; 46 uint8_T Audio_Level; 47 uint8_T Config_Warning_Duration; 48 uint8_T Empty_Reservoir; 49 uint8_T Low_Reservoir; 50 uint8_T Max_Config_Duration; 51 uint8_T Max_Duration_Over_Infusion; 52 uint8_T Max_Duration_Under_Infusion; 53 uint8_T Max_Paused_Duration; 54 uint8_T Max_Idle_Duration; 55 uint8_T Tolerance_Max; 56 uint8_T Tolerance_Min; 57 uint8_T Log_Interval; 58 uint8_T System_Test_Interval; 59 uint8_T Max_Display_Duration; 60 uint8_T Max_Confirm_Stop_Duration; 61 } Device_Configuration_Inputs; 62 63 #endif 64 65 #ifndef _DEFINED_TYPEDEF_FOR_Top_Level_Mode_Outputs_ 66 #define _DEFINED_TYPEDEF_FOR_Top_Level_Mode_Outputs_ 67 68 typedef struct { 69 boolean_T System_On; 70 boolean_T Request_Confirm_Stop; 71 uint8_T Log_Message_ID; 72 } Top_Level_Mode_Outputs; 73 74 #endif 75 76 /* Forward declaration for rtModel */ 77 typedef struct tag_RTM_Top_Level_Mode_Functional_T 78 RT_MODEL_Top_Level_Mode_Functional_T; 79 80 #endif /* RTW_HEADER_Top_Level_Mode_Functional_types_h_ */ 81 |