1 | /* |
2 | * RaspberryForceTest_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 "RaspberryForceTest". |
8 | * |
9 | * Model version : 1.4 |
10 | * Simulink Coder version : 8.11 (R2016b) 25-Aug-2016 |
11 | * C source code generated on : Tue Dec 20 10:51: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 | }; |
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 *)(&RaspberryForceTest_B.Constant[0]), 0, 0, 72 }, |
61 | |
62 | { (char_T *)(&RaspberryForceTest_B.TmpSignalConversionAtsfunxyInpo[0]), 0, 0, |
63 | 6 }, |
64 | |
65 | { (char_T *)(&RaspberryForceTest_B.MagManFoilwitherror_o4), 6, 0, 1 } |
66 | , |
67 | |
68 | { (char_T *)(&RaspberryForceTest_DW.MagManFoilwitherror_DSTATE), 0, 0, 2 }, |
69 | |
70 | { (char_T *)(&RaspberryForceTest_DW.ForceX_PWORK.LoggedData[0]), 11, 0, 11 } |
71 | }; |
72 | |
73 | /* data type transition table for block I/O structure */ |
74 | static DataTypeTransitionTable rtBTransTable = { |
75 | 5U, |
76 | rtBTransitions |
77 | }; |
78 | |
79 | /* data type transitions for Parameters structure */ |
80 | static DataTypeTransition rtPTransitions[] = { |
81 | { (char_T *)(&RaspberryForceTest_P.km4pi[0]), 0, 0, 12 } |
82 | }; |
83 | |
84 | /* data type transition table for Parameters structure */ |
85 | static DataTypeTransitionTable rtPTransTable = { |
86 | 1U, |
87 | rtPTransitions |
88 | }; |
89 | |
90 | /* [EOF] RaspberryForceTest_dt.h */ |
91 | |