| 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. \ |
| 29 | Consider adjusting Test hardware word size settings on the \ |
| 30 | Hardware Implementation pane to match your compiler word sizes as \ |
| 31 | defined in limits.h of the compiler. Alternatively, you can \ |
| 32 | select the Test hardware is the same as production hardware option and \ |
| 33 | select the Enable portable word sizes option on the Code Generation > \ |
| 34 | Verification pane for ERT based targets, which will disable the \ |
| 35 | preprocessor 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. \ |
| 40 | Consider adjusting Test hardware word size settings on the \ |
| 41 | Hardware Implementation pane to match your compiler word sizes as \ |
| 42 | defined in limits.h of the compiler. Alternatively, you can \ |
| 43 | select the Test hardware is the same as production hardware option and \ |
| 44 | select the Enable portable word sizes option on the Code Generation > \ |
| 45 | Verification pane for ERT based targets, which will disable the \ |
| 46 | preprocessor 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. \ |
| 51 | Consider adjusting Test hardware word size settings on the \ |
| 52 | Hardware Implementation pane to match your compiler word sizes as \ |
| 53 | defined in limits.h of the compiler. Alternatively, you can \ |
| 54 | select the Test hardware is the same as production hardware option and \ |
| 55 | select the Enable portable word sizes option on the Code Generation > \ |
| 56 | Verification pane for ERT based targets, which will disable the \ |
| 57 | preprocessor 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. \ |
| 62 | Consider adjusting Test hardware word size settings on the \ |
| 63 | Hardware Implementation pane to match your compiler word sizes as \ |
| 64 | defined in limits.h of the compiler. Alternatively, you can \ |
| 65 | select the Test hardware is the same as production hardware option and \ |
| 66 | select the Enable portable word sizes option on the Code Generation > \ |
| 67 | Verification pane for ERT based targets, which will disable the \ |
| 68 | preprocessor word size checks. |
| 69 | #endif |
| 70 | |
| 71 | /* Skipping ulong_long/long_long check: insufficient preprocessor integer range. */ |
| 72 | void InitAdcB (void); |
| 73 | void config_ADCB_SOC1 (void); |
| 74 | void InitAdcA (void); |
| 75 | void config_ADCA_SOC0 (void); |
| 76 | void 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 | |