/* * 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 #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: '/SOC-Rp' */ #define rtCP_SOCRp_bp01Data rtCP_pooled_Hq33G5zkPPgT /* Computed Parameter: rtCP_SOCRp_bp01Data * Referenced by: '/SOC-Rp' */ #define rtCP_SOCC_tableData rtCP_pooled_4Oms9Dl3djxK /* Computed Parameter: rtCP_SOCC_tableData * Referenced by: '/SOC-C' */ #define rtCP_SOCC_bp01Data rtCP_pooled_Hq33G5zkPPgT /* Computed Parameter: rtCP_SOCC_bp01Data * Referenced by: '/SOC-C' */ #define rtCP_SOCRp_tableData_b rtCP_pooled_2yqyybnjRkAg /* Computed Parameter: rtCP_SOCRp_tableData_b * Referenced by: '/SOC-Rp' */ #define rtCP_SOCRp_bp01Data_a rtCP_pooled_Hq33G5zkPPgT /* Computed Parameter: rtCP_SOCRp_bp01Data_a * Referenced by: '/SOC-Rp' */ #define rtCP_SOCC_tableData_l rtCP_pooled_4Oms9Dl3djxK /* Computed Parameter: rtCP_SOCC_tableData_l * Referenced by: '/SOC-C' */ #define rtCP_SOCC_bp01Data_o rtCP_pooled_Hq33G5zkPPgT /* Computed Parameter: rtCP_SOCC_bp01Data_o * Referenced by: '/SOC-C' */ #define rtCP_SOCOCV_tableData rtCP_pooled_ygMHmGen2OIb /* Computed Parameter: rtCP_SOCOCV_tableData * Referenced by: '/SOC-OCV' */ #define rtCP_SOCOCV_bp01Data rtCP_pooled_Hq33G5zkPPgT /* Computed Parameter: rtCP_SOCOCV_bp01Data * Referenced by: '/SOC-OCV' */ #define rtCP_SOCRo_tableData rtCP_pooled_6SXVB9Ymnskr /* Computed Parameter: rtCP_SOCRo_tableData * Referenced by: '/SOC-Ro' */ #define rtCP_SOCRo_bp01Data rtCP_pooled_Hq33G5zkPPgT /* Computed Parameter: rtCP_SOCRo_bp01Data * Referenced by: '/SOC-Ro' */ #define rtCP_SOCOCV_tableData_c rtCP_pooled_ygMHmGen2OIb /* Computed Parameter: rtCP_SOCOCV_tableData_c * Referenced by: '/SOC-OCV' */ #define rtCP_SOCOCV_bp01Data_a rtCP_pooled_Hq33G5zkPPgT /* Computed Parameter: rtCP_SOCOCV_bp01Data_a * Referenced by: '/SOC-OCV' */ #define rtCP_SOCRo_tableData_n rtCP_pooled_6SXVB9Ymnskr /* Computed Parameter: rtCP_SOCRo_tableData_n * Referenced by: '/SOC-Ro' */ #define rtCP_SOCRo_bp01Data_c rtCP_pooled_Hq33G5zkPPgT /* Computed Parameter: rtCP_SOCRo_bp01Data_c * Referenced by: '/SOC-Ro' */ #define rtCP_uDLookupTable_bp01Data rtCP_pooled_5IPKsXGYnKyg /* Expression: socm_I_chrgCor * Referenced by: '/1-D Lookup Table' */ #define rtCP_uDLookupTable_bp01Data_g rtCP_pooled_9BXJPVWA4BJI /* Expression: socm_I_disChrgCor * Referenced by: '/1-D Lookup Table' */ #define rtCP_OCVSOC_bp01Data rtCP_pooled_neXCembKU1Do /* Expression: cmnm_V_ocv * Referenced by: '/OCV-SOC' */ #define rtCP_OCVSOC_bp01Data_b rtCP_pooled_neXCembKU1Do /* Expression: cmnm_V_ocv * Referenced by: '/OCV-SOC' */ #define rtCP_uDLookupTable_tableData rtCP_pooled_qce4hcBQN8fp /* Expression: socm_V_chrgCor * Referenced by: '/1-D Lookup Table' */ #define rtCP_uDLookupTable_tableData_b rtCP_pooled_J4vL4j1Fk1zG /* Expression: socm_V_disChrgCor * Referenced by: '/1-D Lookup Table' */ #define rtCP_OCVSOC_tableData rtCP_pooled_Pg3wA7d95Txu /* Expression: cmnm_pct_soc * Referenced by: '/OCV-SOC' */ #define rtCP_OCVSOC_tableData_b rtCP_pooled_Pg3wA7d95Txu /* Expression: cmnm_pct_soc * Referenced by: '/OCV-SOC' */ #endif /* RTW_HEADER_SOC_private_h_ */ /* * File trailer for generated code. * * [EOF] */