123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174 |
- /*
- * File: SOC_private.h
- *
- * Code generated for Simulink model 'SOC'.
- *
- * Model version : 1.24
- * Simulink Coder version : 9.4 (R2020b) 29-Jul-2020
- * C/C++ source code generated on : Thu Aug 12 17:54:23 2021
- *
- * Target selection: ert.tlc
- * Embedded hardware selection: Intel->x86-64 (Windows64)
- * Code generation objectives: Unspecified
- * Validation result: Not run
- */
- #ifndef RTW_HEADER_SOC_private_h_
- #define RTW_HEADER_SOC_private_h_
- #include "rtwtypes.h"
- #ifndef UCHAR_MAX
- #include <limits.h>
- #endif
- #if ( UCHAR_MAX != (0xFFU) ) || ( SCHAR_MAX != (0x7F) )
- #error Code was generated for compiler with different sized uchar/char. \
- Consider adjusting Test hardware word size settings on the \
- Hardware Implementation pane to match your compiler word sizes as \
- defined in limits.h of the compiler. Alternatively, you can \
- select the Test hardware is the same as production hardware option and \
- select the Enable portable word sizes option on the Code Generation > \
- Verification pane for ERT based targets, which will disable the \
- preprocessor word size checks.
- #endif
- #if ( USHRT_MAX != (0xFFFFU) ) || ( SHRT_MAX != (0x7FFF) )
- #error Code was generated for compiler with different sized ushort/short. \
- Consider adjusting Test hardware word size settings on the \
- Hardware Implementation pane to match your compiler word sizes as \
- defined in limits.h of the compiler. Alternatively, you can \
- select the Test hardware is the same as production hardware option and \
- select the Enable portable word sizes option on the Code Generation > \
- Verification pane for ERT based targets, which will disable the \
- preprocessor word size checks.
- #endif
- #if ( UINT_MAX != (0xFFFFFFFFU) ) || ( INT_MAX != (0x7FFFFFFF) )
- #error Code was generated for compiler with different sized uint/int. \
- Consider adjusting Test hardware word size settings on the \
- Hardware Implementation pane to match your compiler word sizes as \
- defined in limits.h of the compiler. Alternatively, you can \
- select the Test hardware is the same as production hardware option and \
- select the Enable portable word sizes option on the Code Generation > \
- Verification pane for ERT based targets, which will disable the \
- preprocessor word size checks.
- #endif
- #if ( ULONG_MAX != (0xFFFFFFFFU) ) || ( LONG_MAX != (0x7FFFFFFF) )
- #error Code was generated for compiler with different sized ulong/long. \
- Consider adjusting Test hardware word size settings on the \
- Hardware Implementation pane to match your compiler word sizes as \
- defined in limits.h of the compiler. Alternatively, you can \
- select the Test hardware is the same as production hardware option and \
- select the Enable portable word sizes option on the Code Generation > \
- Verification pane for ERT based targets, which will disable the \
- preprocessor word size checks.
- #endif
- /* Macros for accessing real-time model data structure */
- #ifndef rtmGetErrorStatus
- #define rtmGetErrorStatus(rtm) (*((rtm)->errorStatus))
- #endif
- #ifndef rtmSetErrorStatus
- #define rtmSetErrorStatus(rtm, val) (*((rtm)->errorStatus) = (val))
- #endif
- #ifndef rtmGetErrorStatusPointer
- #define rtmGetErrorStatusPointer(rtm) (rtm)->errorStatus
- #endif
- #ifndef rtmSetErrorStatusPointer
- #define rtmSetErrorStatusPointer(rtm, val) ((rtm)->errorStatus = (val))
- #endif
- extern const real_T rtCP_pooled_2yqyybnjRkAg[13];
- extern const real_T rtCP_pooled_Hq33G5zkPPgT[13];
- extern const real_T rtCP_pooled_4Oms9Dl3djxK[13];
- extern const real_T rtCP_pooled_ygMHmGen2OIb[13];
- extern const real_T rtCP_pooled_6SXVB9Ymnskr[13];
- extern const int16_T rtCP_pooled_5IPKsXGYnKyg[4];
- extern const int16_T rtCP_pooled_9BXJPVWA4BJI[3];
- extern const uint16_T rtCP_pooled_neXCembKU1Do[13];
- extern const uint16_T rtCP_pooled_qce4hcBQN8fp[4];
- extern const uint16_T rtCP_pooled_J4vL4j1Fk1zG[3];
- extern const uint16_T rtCP_pooled_Pg3wA7d95Txu[13];
- #define rtCP_SOCRp_tableData rtCP_pooled_2yqyybnjRkAg /* Computed Parameter: rtCP_SOCRp_tableData
- * Referenced by: '<S20>/SOC-Rp'
- */
- #define rtCP_SOCRp_bp01Data rtCP_pooled_Hq33G5zkPPgT /* Computed Parameter: rtCP_SOCRp_bp01Data
- * Referenced by: '<S20>/SOC-Rp'
- */
- #define rtCP_SOCC_tableData rtCP_pooled_4Oms9Dl3djxK /* Computed Parameter: rtCP_SOCC_tableData
- * Referenced by: '<S20>/SOC-C'
- */
- #define rtCP_SOCC_bp01Data rtCP_pooled_Hq33G5zkPPgT /* Computed Parameter: rtCP_SOCC_bp01Data
- * Referenced by: '<S20>/SOC-C'
- */
- #define rtCP_SOCRp_tableData_b rtCP_pooled_2yqyybnjRkAg /* Computed Parameter: rtCP_SOCRp_tableData_b
- * Referenced by: '<S29>/SOC-Rp'
- */
- #define rtCP_SOCRp_bp01Data_a rtCP_pooled_Hq33G5zkPPgT /* Computed Parameter: rtCP_SOCRp_bp01Data_a
- * Referenced by: '<S29>/SOC-Rp'
- */
- #define rtCP_SOCC_tableData_l rtCP_pooled_4Oms9Dl3djxK /* Computed Parameter: rtCP_SOCC_tableData_l
- * Referenced by: '<S29>/SOC-C'
- */
- #define rtCP_SOCC_bp01Data_o rtCP_pooled_Hq33G5zkPPgT /* Computed Parameter: rtCP_SOCC_bp01Data_o
- * Referenced by: '<S29>/SOC-C'
- */
- #define rtCP_SOCOCV_tableData rtCP_pooled_ygMHmGen2OIb /* Computed Parameter: rtCP_SOCOCV_tableData
- * Referenced by: '<S29>/SOC-OCV'
- */
- #define rtCP_SOCOCV_bp01Data rtCP_pooled_Hq33G5zkPPgT /* Computed Parameter: rtCP_SOCOCV_bp01Data
- * Referenced by: '<S29>/SOC-OCV'
- */
- #define rtCP_SOCRo_tableData rtCP_pooled_6SXVB9Ymnskr /* Computed Parameter: rtCP_SOCRo_tableData
- * Referenced by: '<S29>/SOC-Ro'
- */
- #define rtCP_SOCRo_bp01Data rtCP_pooled_Hq33G5zkPPgT /* Computed Parameter: rtCP_SOCRo_bp01Data
- * Referenced by: '<S29>/SOC-Ro'
- */
- #define rtCP_SOCOCV_tableData_c rtCP_pooled_ygMHmGen2OIb /* Computed Parameter: rtCP_SOCOCV_tableData_c
- * Referenced by: '<S20>/SOC-OCV'
- */
- #define rtCP_SOCOCV_bp01Data_a rtCP_pooled_Hq33G5zkPPgT /* Computed Parameter: rtCP_SOCOCV_bp01Data_a
- * Referenced by: '<S20>/SOC-OCV'
- */
- #define rtCP_SOCRo_tableData_n rtCP_pooled_6SXVB9Ymnskr /* Computed Parameter: rtCP_SOCRo_tableData_n
- * Referenced by: '<S20>/SOC-Ro'
- */
- #define rtCP_SOCRo_bp01Data_c rtCP_pooled_Hq33G5zkPPgT /* Computed Parameter: rtCP_SOCRo_bp01Data_c
- * Referenced by: '<S20>/SOC-Ro'
- */
- #define rtCP_uDLookupTable_bp01Data rtCP_pooled_5IPKsXGYnKyg /* Expression: socm_I_chrgCor
- * Referenced by: '<S39>/1-D Lookup Table'
- */
- #define rtCP_uDLookupTable_bp01Data_g rtCP_pooled_9BXJPVWA4BJI /* Expression: socm_I_disChrgCor
- * Referenced by: '<S40>/1-D Lookup Table'
- */
- #define rtCP_OCVSOC_bp01Data rtCP_pooled_neXCembKU1Do /* Expression: cmnm_V_ocv
- * Referenced by: '<S8>/OCV-SOC'
- */
- #define rtCP_OCVSOC_bp01Data_b rtCP_pooled_neXCembKU1Do /* Expression: cmnm_V_ocv
- * Referenced by: '<S5>/OCV-SOC'
- */
- #define rtCP_uDLookupTable_tableData rtCP_pooled_qce4hcBQN8fp /* Expression: socm_V_chrgCor
- * Referenced by: '<S39>/1-D Lookup Table'
- */
- #define rtCP_uDLookupTable_tableData_b rtCP_pooled_J4vL4j1Fk1zG /* Expression: socm_V_disChrgCor
- * Referenced by: '<S40>/1-D Lookup Table'
- */
- #define rtCP_OCVSOC_tableData rtCP_pooled_Pg3wA7d95Txu /* Expression: cmnm_pct_soc
- * Referenced by: '<S8>/OCV-SOC'
- */
- #define rtCP_OCVSOC_tableData_b rtCP_pooled_Pg3wA7d95Txu /* Expression: cmnm_pct_soc
- * Referenced by: '<S5>/OCV-SOC'
- */
- #endif /* RTW_HEADER_SOC_private_h_ */
- /*
- * File trailer for generated code.
- *
- * [EOF]
- */
|