1 | /* |
2 | * VisionControl_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 "VisionControl". |
8 | * |
9 | * Model version : 1.14 |
10 | * Simulink Coder version : 8.11 (R2016b) 25-Aug-2016 |
11 | * C source code generated on : Thu Dec 01 15:18:37 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 *)(&VisionControl_B.DataTypeConversion1), 0, 0, 87 }, |
61 | |
62 | { (char_T *)(&VisionControl_B.Sharedmemorycameraposition_o1), 6, 0, 2 } |
63 | , |
64 | |
65 | { (char_T *)(&VisionControl_DW.Sharedmemorycameraposition_DSTA), 0, 0, 6 }, |
66 | |
67 | { (char_T *)(&VisionControl_DW.Forcescope_PWORK.LoggedData[0]), 11, 0, 6 } |
68 | }; |
69 | |
70 | /* data type transition table for block I/O structure */ |
71 | static DataTypeTransitionTable rtBTransTable = { |
72 | 4U, |
73 | rtBTransitions |
74 | }; |
75 | |
76 | /* data type transitions for Parameters structure */ |
77 | static DataTypeTransition rtPTransitions[] = { |
78 | { (char_T *)(&VisionControl_P.km4piCam[0]), 0, 0, 24 } |
79 | }; |
80 | |
81 | /* data type transition table for Parameters structure */ |
82 | static DataTypeTransitionTable rtPTransTable = { |
83 | 1U, |
84 | rtPTransitions |
85 | }; |
86 | |
87 | /* [EOF] VisionControl_dt.h */ |
88 | |