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: TwoPhaseForStuck_private.h
7 *
8 * Code generated for Simulink model 'TwoPhaseForStuck'.
9 *
10 * Model version : 1.138
11 * Simulink Coder version : 9.0 (R2018b) 24-May-2018
12 * C/C++ source code generated on : Tue Dec 8 01:36:02 2020
13 *
14 * Target selection: ert.tlc
15 * Embedded hardware selection: Texas Instruments->C2000
16 * Code generation objectives: Unspecified
17 * Validation result: Not run
18 */
19
20#ifndef RTW_HEADER_TwoPhaseForStuck_private_h_
21#define RTW_HEADER_TwoPhaseForStuck_private_h_
22#include "rtwtypes.h"
23#ifndef UCHAR_MAX
24#include <limits.h>
25#endif
26
27#if ( UCHAR_MAX != (0xFFFFU) ) || ( SCHAR_MAX != (0x7FFF) )
28#error Code was generated for compiler with different sized uchar/char. \
29Consider adjusting Test hardware word size settings on the \
30Hardware Implementation pane to match your compiler word sizes as \
31defined in limits.h of the compiler. Alternatively, you can \
32select the Test hardware is the same as production hardware option and \
33select the Enable portable word sizes option on the Code Generation > \
34Verification pane for ERT based targets, which will disable the \
35preprocessor word size checks.
36#endif
37
38#if ( USHRT_MAX != (0xFFFFU) ) || ( SHRT_MAX != (0x7FFF) )
39#error Code was generated for compiler with different sized ushort/short. \
40Consider adjusting Test hardware word size settings on the \
41Hardware Implementation pane to match your compiler word sizes as \
42defined in limits.h of the compiler. Alternatively, you can \
43select the Test hardware is the same as production hardware option and \
44select the Enable portable word sizes option on the Code Generation > \
45Verification pane for ERT based targets, which will disable the \
46preprocessor word size checks.
47#endif
48
49#if ( UINT_MAX != (0xFFFFU) ) || ( INT_MAX != (0x7FFF) )
50#error Code was generated for compiler with different sized uint/int. \
51Consider adjusting Test hardware word size settings on the \
52Hardware Implementation pane to match your compiler word sizes as \
53defined in limits.h of the compiler. Alternatively, you can \
54select the Test hardware is the same as production hardware option and \
55select the Enable portable word sizes option on the Code Generation > \
56Verification pane for ERT based targets, which will disable the \
57preprocessor word size checks.
58#endif
59
60#if ( ULONG_MAX != (0xFFFFFFFFUL) ) || ( LONG_MAX != (0x7FFFFFFFL) )
61#error Code was generated for compiler with different sized ulong/long. \
62Consider adjusting Test hardware word size settings on the \
63Hardware Implementation pane to match your compiler word sizes as \
64defined in limits.h of the compiler. Alternatively, you can \
65select the Test hardware is the same as production hardware option and \
66select the Enable portable word sizes option on the Code Generation > \
67Verification pane for ERT based targets, which will disable the \
68preprocessor word size checks.
69#endif
70
71/* Skipping ulong_long/long_long check: insufficient preprocessor integer range. */
72void InitAdcB (void);
73void config_ADCB_SOC1 (void);
74void InitAdcA (void);
75void config_ADCA_SOC0 (void);
76void config_ADCB_SOC0 (void);
77
78#endif /* RTW_HEADER_TwoPhaseForStuck_private_h_ */
79
80/*
81 * File trailer for generated code.
82 *
83 * [EOF]
84 */
85