1 | /* |
2 | * Academic License - for use in teaching, academic research, and meeting |
3 | * course requirements at degree granting institutions only. Not for |
4 | * government, commercial, or other organizational use. |
5 | * |
6 | * File: untitled_private.h |
7 | * |
8 | * Code generated for Simulink model 'untitled'. |
9 | * |
10 | * Model version : 1.0 |
11 | * Simulink Coder version : 8.12 (R2017a) 16-Feb-2017 |
12 | * C/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 | #ifndef RTW_HEADER_untitled_private_h_ |
21 | #define RTW_HEADER_untitled_private_h_ |
22 | #include "rtwtypes.h" |
23 | #include "multiword_types.h" |
24 | #include "untitled.h" |
25 | |
26 | /* Private macros used by the generated code to access rtModel */ |
27 | #ifndef rtmSetTFinal |
28 | # define rtmSetTFinal(rtm, val) ((rtm)->Timing.tFinal = (val)) |
29 | #endif |
30 | |
31 | #ifndef rtmGetTPtr |
32 | # define rtmGetTPtr(rtm) (&(rtm)->Timing.taskTime0) |
33 | #endif |
34 | |
35 | #ifndef UCHAR_MAX |
36 | #include <limits.h> |
37 | #endif |
38 | |
39 | #if ( UCHAR_MAX != (0xFFU) ) || ( SCHAR_MAX != (0x7F) ) |
40 | #error Code was generated for compiler with different sized uchar/char. \ |
41 | Consider adjusting Test hardware word size settings on the \ |
42 | Hardware Implementation pane to match your compiler word sizes as \ |
43 | defined in limits.h of the compiler. Alternatively, you can \ |
44 | select the Test hardware is the same as production hardware option and \ |
45 | select the Enable portable word sizes option on the Code Generation > \ |
46 | Verification pane for ERT based targets, which will disable the \ |
47 | preprocessor word size checks. |
48 | #endif |
49 | |
50 | #if ( USHRT_MAX != (0xFFFFU) ) || ( SHRT_MAX != (0x7FFF) ) |
51 | #error Code was generated for compiler with different sized ushort/short. \ |
52 | Consider adjusting Test hardware word size settings on the \ |
53 | Hardware Implementation pane to match your compiler word sizes as \ |
54 | defined in limits.h of the compiler. Alternatively, you can \ |
55 | select the Test hardware is the same as production hardware option and \ |
56 | select the Enable portable word sizes option on the Code Generation > \ |
57 | Verification pane for ERT based targets, which will disable the \ |
58 | preprocessor word size checks. |
59 | #endif |
60 | |
61 | #if ( UINT_MAX != (0xFFFFFFFFU) ) || ( INT_MAX != (0x7FFFFFFF) ) |
62 | #error Code was generated for compiler with different sized uint/int. \ |
63 | Consider adjusting Test hardware word size settings on the \ |
64 | Hardware Implementation pane to match your compiler word sizes as \ |
65 | defined in limits.h of the compiler. Alternatively, you can \ |
66 | select the Test hardware is the same as production hardware option and \ |
67 | select the Enable portable word sizes option on the Code Generation > \ |
68 | Verification pane for ERT based targets, which will disable the \ |
69 | preprocessor word size checks. |
70 | #endif |
71 | |
72 | #if ( ULONG_MAX != (0xFFFFFFFFU) ) || ( LONG_MAX != (0x7FFFFFFF) ) |
73 | #error Code was generated for compiler with different sized ulong/long. \ |
74 | Consider adjusting Test hardware word size settings on the \ |
75 | Hardware Implementation pane to match your compiler word sizes as \ |
76 | defined in limits.h of the compiler. Alternatively, you can \ |
77 | select the Test hardware is the same as production hardware option and \ |
78 | select the Enable portable word sizes option on the Code Generation > \ |
79 | Verification pane for ERT based targets, which will disable the \ |
80 | preprocessor word size checks. |
81 | #endif |
82 | |
83 | extern void untitled_i2cWr_Start(DW_i2cWr_untitled_T *localDW); |
84 | extern void untitled_i2cWr(uint16_T rtu_dataw, DW_i2cWr_untitled_T *localDW); |
85 | extern void untitled_i2cWr_Term(DW_i2cWr_untitled_T *localDW); |
86 | |
87 | #endif /* RTW_HEADER_untitled_private_h_ */ |
88 | |
89 | /* |
90 | * File trailer for generated code. |
91 | * |
92 | * [EOF] |
93 | */ |
94 | |