1 | /* |
2 | * untitled_dt.h |
3 | * |
4 | * Academic License - for use in teaching, academic research, and meeting |
5 | * course requirements at degree granting institutions only. Not for |
6 | * government, commercial, or other organizational use. |
7 | * |
8 | * Code generation for model "untitled". |
9 | * |
10 | * Model version : 1.0 |
11 | * Simulink Coder version : 8.12 (R2017a) 16-Feb-2017 |
12 | * C source code generated on : Mon Oct 02 12:36:06 2017 |
13 | * |
14 | * Target selection: ert.tlc |
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(int16_T), |
39 | sizeof(int16_T), |
40 | sizeof(int16_T), |
41 | sizeof(freedomk64f_I2CMasterRead_unt_T), |
42 | sizeof(freedomk64f_I2CMasterWrite_un_T) |
43 | }; |
44 | |
45 | /* data type name table */ |
46 | static const char_T * rtDataTypeNames[] = { |
47 | "real_T", |
48 | "real32_T", |
49 | "int8_T", |
50 | "uint8_T", |
51 | "int16_T", |
52 | "uint16_T", |
53 | "int32_T", |
54 | "uint32_T", |
55 | "boolean_T", |
56 | "fcn_call_T", |
57 | "int_T", |
58 | "pointer_T", |
59 | "action_T", |
60 | "timer_uint32_pair_T", |
61 | "int16_T", |
62 | "int16_T", |
63 | "int16_T", |
64 | "freedomk64f_I2CMasterRead_unt_T", |
65 | "freedomk64f_I2CMasterWrite_un_T" |
66 | }; |
67 | |
68 | /* data type transitions for block I/O structure */ |
69 | static DataTypeTransition rtBTransitions[] = { |
70 | { (char_T *)(&untitled_B.Gain[0]), 1, 0, 13 }, |
71 | |
72 | { (char_T *)(&untitled_B.acc[0]), 4, 0, 14 }, |
73 | |
74 | { (char_T *)(&untitled_B.dataw), 5, 0, 1 } |
75 | , |
76 | |
77 | { (char_T *)(&untitled_DW.obj), 17, 0, 1 }, |
78 | |
79 | { (char_T *)(&untitled_DW.Roll_X_acc_PWORK.LoggedData), 11, 0, 8 }, |
80 | |
81 | { (char_T *)(&untitled_DW.i2cRd_SubsysRanBC), 2, 0, 1 }, |
82 | |
83 | { (char_T *)(&untitled_DW.is_active_c3_untitled), 3, 0, 3 }, |
84 | |
85 | { (char_T *)(&untitled_DW.i2cWr.obj), 18, 0, 1 }, |
86 | |
87 | { (char_T *)(&untitled_DW.i2cWr.I2CMasterWrite_PWORK), 11, 0, 1 }, |
88 | |
89 | { (char_T *)(&untitled_DW.i2cWr.i2cWr_SubsysRanBC), 2, 0, 1 } |
90 | }; |
91 | |
92 | /* data type transition table for block I/O structure */ |
93 | static DataTypeTransitionTable rtBTransTable = { |
94 | 10U, |
95 | rtBTransitions |
96 | }; |
97 | |
98 | /* data type transitions for Parameters structure */ |
99 | static DataTypeTransition rtPTransitions[] = { |
100 | { (char_T *)(&untitled_P.I2CMasterRead_SampleTime), 0, 0, 1 }, |
101 | |
102 | { (char_T *)(&untitled_P.Gain3_Gain), 1, 0, 2 }, |
103 | |
104 | { (char_T *)(&untitled_P.datar_Y0), 4, 0, 4 } |
105 | }; |
106 | |
107 | /* data type transition table for Parameters structure */ |
108 | static DataTypeTransitionTable rtPTransTable = { |
109 | 3U, |
110 | rtPTransitions |
111 | }; |
112 | |
113 | /* [EOF] untitled_dt.h */ |
114 | |