1 | /* |
2 | * RaspberryMagmanModelTest_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 "RaspberryMagmanModelTest". |
8 | * |
9 | * Model version : 1.19 |
10 | * Simulink Coder version : 8.11 (R2016b) 25-Aug-2016 |
11 | * C source code generated on : Wed Dec 21 17:46:56 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 | }; |
39 | |
40 | /* data type name table */ |
41 | static const char_T * rtDataTypeNames[] = { |
42 | "real_T", |
43 | "real32_T", |
44 | "int8_T", |
45 | "uint8_T", |
46 | "int16_T", |
47 | "uint16_T", |
48 | "int32_T", |
49 | "uint32_T", |
50 | "boolean_T", |
51 | "fcn_call_T", |
52 | "int_T", |
53 | "pointer_T", |
54 | "action_T", |
55 | "timer_uint32_pair_T" |
56 | }; |
57 | |
58 | /* data type transitions for block I/O structure */ |
59 | static DataTypeTransition rtBTransitions[] = { |
60 | { (char_T *)(&RaspberryMagmanModelTest_B.Switch[0]), 0, 0, 41 }, |
61 | |
62 | { (char_T *)(&RaspberryMagmanModelTest_B.MagManFoilwitherror_o4), 6, 0, 3 }, |
63 | |
64 | { (char_T *)(&RaspberryMagmanModelTest_B.sf_Positiontransformation.X), 0, 0, 2 |
65 | }, |
66 | |
67 | { (char_T *)(&RaspberryMagmanModelTest_B.sf_Positiontransformation1.X), 0, 0, |
68 | 2 } |
69 | , |
70 | |
71 | { (char_T *)(&RaspberryMagmanModelTest_DW.MagManFoilwitherror_DSTATE), 0, 0, 7 |
72 | }, |
73 | |
74 | { (char_T *)(&RaspberryMagmanModelTest_DW.Position_PWORK.LoggedData[0]), 11, 0, |
75 | 12 } |
76 | }; |
77 | |
78 | /* data type transition table for block I/O structure */ |
79 | static DataTypeTransitionTable rtBTransTable = { |
80 | 6U, |
81 | rtBTransitions |
82 | }; |
83 | |
84 | /* data type transitions for Parameters structure */ |
85 | static DataTypeTransition rtPTransitions[] = { |
86 | { (char_T *)(&RaspberryMagmanModelTest_P.km4pi[0]), 0, 0, 71 } |
87 | }; |
88 | |
89 | /* data type transition table for Parameters structure */ |
90 | static DataTypeTransitionTable rtPTransTable = { |
91 | 1U, |
92 | rtPTransitions |
93 | }; |
94 | |
95 | /* [EOF] RaspberryMagmanModelTest_dt.h */ |
96 | |