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. \
41Consider adjusting Test hardware word size settings on the \
42Hardware Implementation pane to match your compiler word sizes as \
43defined in limits.h of the compiler. Alternatively, you can \
44select the Test hardware is the same as production hardware option and \
45select the Enable portable word sizes option on the Code Generation > \
46Verification pane for ERT based targets, which will disable the \
47preprocessor 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. \
52Consider adjusting Test hardware word size settings on the \
53Hardware Implementation pane to match your compiler word sizes as \
54defined in limits.h of the compiler. Alternatively, you can \
55select the Test hardware is the same as production hardware option and \
56select the Enable portable word sizes option on the Code Generation > \
57Verification pane for ERT based targets, which will disable the \
58preprocessor 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. \
63Consider adjusting Test hardware word size settings on the \
64Hardware Implementation pane to match your compiler word sizes as \
65defined in limits.h of the compiler. Alternatively, you can \
66select the Test hardware is the same as production hardware option and \
67select the Enable portable word sizes option on the Code Generation > \
68Verification pane for ERT based targets, which will disable the \
69preprocessor 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. \
74Consider adjusting Test hardware word size settings on the \
75Hardware Implementation pane to match your compiler word sizes as \
76defined in limits.h of the compiler. Alternatively, you can \
77select the Test hardware is the same as production hardware option and \
78select the Enable portable word sizes option on the Code Generation > \
79Verification pane for ERT based targets, which will disable the \
80preprocessor word size checks.
81#endif
82
83extern void untitled_i2cWr_Start(DW_i2cWr_untitled_T *localDW);
84extern void untitled_i2cWr(uint16_T rtu_dataw, DW_i2cWr_untitled_T *localDW);
85extern 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