1 | /* |
2 | * integ_Accel_and_Gyro_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 "integ_Accel_and_Gyro". |
9 | * |
10 | * Model version : 1.7 |
11 | * Simulink Coder version : 8.12 (R2017a) 16-Feb-2017 |
12 | * C source code generated on : Tue Dec 05 16:13:16 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_fxos8700_integ_Ac_T), |
42 | sizeof(freedomk64f_I2CMasterRead_int_T), |
43 | sizeof(freedomk64f_I2CMasterWrite_in_T) |
44 | }; |
45 | |
46 | /* data type name table */ |
47 | static const char_T * rtDataTypeNames[] = { |
48 | "real_T", |
49 | "real32_T", |
50 | "int8_T", |
51 | "uint8_T", |
52 | "int16_T", |
53 | "uint16_T", |
54 | "int32_T", |
55 | "uint32_T", |
56 | "boolean_T", |
57 | "fcn_call_T", |
58 | "int_T", |
59 | "pointer_T", |
60 | "action_T", |
61 | "timer_uint32_pair_T", |
62 | "int16_T", |
63 | "int16_T", |
64 | "int16_T", |
65 | "freedomk64f_fxos8700_integ_Ac_T", |
66 | "freedomk64f_I2CMasterRead_int_T", |
67 | "freedomk64f_I2CMasterWrite_in_T" |
68 | }; |
69 | |
70 | /* data type transitions for block I/O structure */ |
71 | static DataTypeTransition rtBTransitions[] = { |
72 | { (char_T *)(&integ_Accel_and_Gyro_B.FXOS87006AxesSensor[0]), 0, 0, 3 }, |
73 | |
74 | { (char_T *)(&integ_Accel_and_Gyro_B.Gain2[0]), 1, 0, 6 }, |
75 | |
76 | { (char_T *)(&integ_Accel_and_Gyro_B.Sum), 1, 0, 21 }, |
77 | |
78 | { (char_T *)(&integ_Accel_and_Gyro_B.acc[0]), 4, 0, 6 }, |
79 | |
80 | { (char_T *)(&integ_Accel_and_Gyro_B.temp), 4, 0, 8 }, |
81 | |
82 | { (char_T *)(&integ_Accel_and_Gyro_B.dataw), 5, 0, 1 } |
83 | , |
84 | |
85 | { (char_T *)(&integ_Accel_and_Gyro_DW.obj), 17, 0, 1 }, |
86 | |
87 | { (char_T *)(&integ_Accel_and_Gyro_DW.obj_d), 18, 0, 1 }, |
88 | |
89 | { (char_T *)(&integ_Accel_and_Gyro_DW.Scope_PWORK.LoggedData[0]), 11, 0, 10 }, |
90 | |
91 | { (char_T *)(&integ_Accel_and_Gyro_DW.UnitDelay2_DSTATE[0]), 1, 0, 22 }, |
92 | |
93 | { (char_T *)(&integ_Accel_and_Gyro_DW.i2cRd_SubsysRanBC), 2, 0, 1 }, |
94 | |
95 | { (char_T *)(&integ_Accel_and_Gyro_DW.is_active_c3_integ_Accel_and_Gy), 3, 0, |
96 | 3 }, |
97 | |
98 | { (char_T *)(&integ_Accel_and_Gyro_DW.LDLFactorization_STATE), 8, 0, 1 }, |
99 | |
100 | { (char_T *)(&integ_Accel_and_Gyro_DW.i2cWr.obj), 19, 0, 1 }, |
101 | |
102 | { (char_T *)(&integ_Accel_and_Gyro_DW.i2cWr.I2CMasterWrite_PWORK), 11, 0, 1 }, |
103 | |
104 | { (char_T *)(&integ_Accel_and_Gyro_DW.i2cWr.i2cWr_SubsysRanBC), 2, 0, 1 } |
105 | }; |
106 | |
107 | /* data type transition table for block I/O structure */ |
108 | static DataTypeTransitionTable rtBTransTable = { |
109 | 16U, |
110 | rtBTransitions |
111 | }; |
112 | |
113 | /* data type transitions for Parameters structure */ |
114 | static DataTypeTransition rtPTransitions[] = { |
115 | { (char_T *)(&integ_Accel_and_Gyro_P.FXOS87006AxesSensor_SampleTime), 0, 0, 2 |
116 | }, |
117 | |
118 | { (char_T *)(&integ_Accel_and_Gyro_P.Z_est_Y0), 1, 0, 93 }, |
119 | |
120 | { (char_T *)(&integ_Accel_and_Gyro_P.Iterator_IterationLimit), 6, 0, 1 }, |
121 | |
122 | { (char_T *)(&integ_Accel_and_Gyro_P.datar_Y0), 4, 0, 4 } |
123 | }; |
124 | |
125 | /* data type transition table for Parameters structure */ |
126 | static DataTypeTransitionTable rtPTransTable = { |
127 | 4U, |
128 | rtPTransitions |
129 | }; |
130 | |
131 | /* [EOF] integ_Accel_and_Gyro_dt.h */ |
132 | |