1 | /* |
2 | * FoilControlRaspberrySentinel_dt.h |
3 | * |
4 | * Classroom License -- for classroom instructional use only. Not for |
5 | * government, commercial, academic research, or other organizational use. |
6 | * |
7 | * Code generation for model "FoilControlRaspberrySentinel". |
8 | * |
9 | * Model version : 1.24 |
10 | * Simulink Coder version : 8.11 (R2016b) 25-Aug-2016 |
11 | * C source code generated on : Wed Nov 23 14:06:32 2016 |
12 | * |
13 | * Target selection: ert.tlc |
14 | * Note: GRT includes extra infrastructure and instrumentation for prototyping |
15 | * Embedded hardware selection: ARM Compatible->ARM Cortex |
16 | * Code generation objectives: Unspecified |
17 | * Validation result: Not run |
18 | */ |
19 | |
20 | #include "ext_types.h" |
21 | |
22 | /* data type size table */ |
23 | static uint_T rtDataTypeSizes[] = { |
24 | sizeof(real_T), |
25 | sizeof(real32_T), |
26 | sizeof(int8_T), |
27 | sizeof(uint8_T), |
28 | sizeof(int16_T), |
29 | sizeof(uint16_T), |
30 | sizeof(int32_T), |
31 | sizeof(uint32_T), |
32 | sizeof(boolean_T), |
33 | sizeof(fcn_call_T), |
34 | sizeof(int_T), |
35 | sizeof(pointer_T), |
36 | sizeof(action_T), |
37 | 2*sizeof(uint32_T), |
38 | sizeof(codertarget_linux_blocks_Digi_T) |
39 | }; |
40 | |
41 | /* data type name table */ |
42 | static const char_T * rtDataTypeNames[] = { |
43 | "real_T", |
44 | "real32_T", |
45 | "int8_T", |
46 | "uint8_T", |
47 | "int16_T", |
48 | "uint16_T", |
49 | "int32_T", |
50 | "uint32_T", |
51 | "boolean_T", |
52 | "fcn_call_T", |
53 | "int_T", |
54 | "pointer_T", |
55 | "action_T", |
56 | "timer_uint32_pair_T", |
57 | "codertarget_linux_blocks_Digi_T" |
58 | }; |
59 | |
60 | /* data type transitions for block I/O structure */ |
61 | static DataTypeTransition rtBTransitions[] = { |
62 | { (char_T *)(&FoilControlRaspberrySentinel_B.MagManFoilwitherror_o1), 0, 0, 86 |
63 | }, |
64 | |
65 | { (char_T *)(&FoilControlRaspberrySentinel_B.X), 0, 0, 2 }, |
66 | |
67 | { (char_T *)(&FoilControlRaspberrySentinel_B.MagManFoilwitherror_o4), 6, 0, 1 |
68 | } |
69 | , |
70 | |
71 | { (char_T *)(&FoilControlRaspberrySentinel_DW.MagManFoilwitherror_DSTATE), 0, |
72 | 0, 6 }, |
73 | |
74 | { (char_T *)(&FoilControlRaspberrySentinel_DW.Scope1_PWORK.LoggedData[0]), 11, |
75 | 0, 8 }, |
76 | |
77 | { (char_T *)(&FoilControlRaspberrySentinel_DW.obj), 14, 0, 1 }, |
78 | |
79 | { (char_T *)(&FoilControlRaspberrySentinel_DW.Output_DSTATE), 3, 0, 1 }, |
80 | |
81 | { (char_T *)(&FoilControlRaspberrySentinel_DW.objisempty), 8, 0, 1 } |
82 | }; |
83 | |
84 | /* data type transition table for block I/O structure */ |
85 | static DataTypeTransitionTable rtBTransTable = { |
86 | 8U, |
87 | rtBTransitions |
88 | }; |
89 | |
90 | /* data type transitions for Parameters structure */ |
91 | static DataTypeTransition rtPTransitions[] = { |
92 | { (char_T *)(&FoilControlRaspberrySentinel_P.km4pi[0]), 0, 0, 18 }, |
93 | |
94 | { (char_T *)(&FoilControlRaspberrySentinel_P.CounterLimited_uplimit), 3, 0, 1 |
95 | }, |
96 | |
97 | { (char_T *)(&FoilControlRaspberrySentinel_P.Constant2_Value[0]), 0, 0, 23 }, |
98 | |
99 | { (char_T *)(&FoilControlRaspberrySentinel_P.Constant_Value_h), 3, 0, 4 } |
100 | }; |
101 | |
102 | /* data type transition table for Parameters structure */ |
103 | static DataTypeTransitionTable rtPTransTable = { |
104 | 4U, |
105 | rtPTransitions |
106 | }; |
107 | |
108 | /* [EOF] FoilControlRaspberrySentinel_dt.h */ |
109 | |