| 1 | /* |
| 2 | * m3_core_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 "m3_core". |
| 9 | * |
| 10 | * Model version : 1.91 |
| 11 | * Simulink Coder version : 8.11 (R2016b) 25-Aug-2016 |
| 12 | * C source code generated on : Thu Sep 27 00:27:58 2018 |
| 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(concerto_UdpReceive_m3_core_T), |
| 39 | sizeof(concerto_UdpSend_m3_core_T) |
| 40 | }; |
| 41 | |
| 42 | /* data type name table */ |
| 43 | static const char_T * rtDataTypeNames[] = { |
| 44 | "real_T", |
| 45 | "real32_T", |
| 46 | "int8_T", |
| 47 | "uint8_T", |
| 48 | "int16_T", |
| 49 | "uint16_T", |
| 50 | "int32_T", |
| 51 | "uint32_T", |
| 52 | "boolean_T", |
| 53 | "fcn_call_T", |
| 54 | "int_T", |
| 55 | "pointer_T", |
| 56 | "action_T", |
| 57 | "timer_uint32_pair_T", |
| 58 | "concerto_UdpReceive_m3_core_T", |
| 59 | "concerto_UdpSend_m3_core_T" |
| 60 | }; |
| 61 | |
| 62 | /* data type transitions for block I/O structure */ |
| 63 | static DataTypeTransition rtBTransitions[] = { |
| 64 | { (char_T *)(&m3_core_B.UDPReceive_o1[0]), 5, 0, 8 }, |
| 65 | |
| 66 | { (char_T *)(&m3_core_B.UDPReceive_o2), 3, 0, 1 } |
| 67 | , |
| 68 | |
| 69 | { (char_T *)(&m3_core_DW.UDPSend1_PWORK), 11, 0, 2 }, |
| 70 | |
| 71 | { (char_T *)(&m3_core_DW.clockTickCounter), 6, 0, 1 }, |
| 72 | |
| 73 | { (char_T *)(&m3_core_DW.obj), 14, 0, 1 }, |
| 74 | |
| 75 | { (char_T *)(&m3_core_DW.obj_c), 15, 0, 1 } |
| 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 *)(&m3_core_P.PulseGenerator_Amp), 0, 0, 4 }, |
| 87 | |
| 88 | { (char_T *)(&m3_core_P.Constant_Value[0]), 5, 0, 8 } |
| 89 | }; |
| 90 | |
| 91 | /* data type transition table for Parameters structure */ |
| 92 | static DataTypeTransitionTable rtPTransTable = { |
| 93 | 2U, |
| 94 | rtPTransitions |
| 95 | }; |
| 96 | |
| 97 | /* [EOF] m3_core_dt.h */ |
| 98 | |