Обновление платы на V2
This commit is contained in:
parent
5391fa35ee
commit
bd1eb49898
14600
HVAC_model.c
14600
HVAC_model.c
File diff suppressed because it is too large
Load Diff
2247
HVAC_model.h
2247
HVAC_model.h
File diff suppressed because it is too large
Load Diff
|
|
@ -3,9 +3,9 @@
|
|||
*
|
||||
* Code generated for Simulink model 'HVAC_model'.
|
||||
*
|
||||
* Model version : 1.866
|
||||
* Model version : 1.876
|
||||
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
|
||||
* C/C++ source code generated on : Tue May 5 14:20:39 2026
|
||||
* C/C++ source code generated on : Wed May 6 14:55:30 2026
|
||||
*
|
||||
* Target selection: ert.tlc
|
||||
* Embedded hardware selection: ARM Compatible->ARM Cortex-M
|
||||
|
|
@ -19,27 +19,27 @@
|
|||
|
||||
/* Invariant block signals (default storage) */
|
||||
const ConstB rtConstB = {
|
||||
/* Start of '<S643>/If Action Subsystem1' */
|
||||
/* Start of '<S664>/If Action Subsystem1' */
|
||||
{
|
||||
{ 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S659>/Data Type Conversion' */
|
||||
{ 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S680>/Data Type Conversion' */
|
||||
}
|
||||
,
|
||||
|
||||
/* End of '<S643>/If Action Subsystem1' */
|
||||
/* End of '<S664>/If Action Subsystem1' */
|
||||
|
||||
/* Start of '<S576>/If Action Subsystem1' */
|
||||
/* Start of '<S597>/If Action Subsystem1' */
|
||||
{
|
||||
{ 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S592>/Data Type Conversion' */
|
||||
{ 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S613>/Data Type Conversion' */
|
||||
}
|
||||
,
|
||||
|
||||
/* End of '<S576>/If Action Subsystem1' */
|
||||
/* End of '<S597>/If Action Subsystem1' */
|
||||
|
||||
/* Start of '<S509>/If Action Subsystem1' */
|
||||
/* Start of '<S527>/If Action Subsystem1' */
|
||||
{
|
||||
{ 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S525>/Data Type Conversion' */
|
||||
{ 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S543>/Data Type Conversion' */
|
||||
}
|
||||
/* End of '<S509>/If Action Subsystem1' */
|
||||
/* End of '<S527>/If Action Subsystem1' */
|
||||
};
|
||||
|
||||
/* Constant parameters (default storage) */
|
||||
|
|
@ -757,32 +757,35 @@ const ConstP rtConstP = {
|
|||
4080U, 4084U, 4088U, 4092U },
|
||||
|
||||
/* Computed Parameter: ACT1_Value
|
||||
* Referenced by: '<S505>/ACT1'
|
||||
* Referenced by: '<S523>/ACT1'
|
||||
*/
|
||||
{ 1050U, 1250U, 1195U, 1315U, 1300U, 1485U, 1440U, 1195U, 1175U },
|
||||
{ 1050U, 1250U, 1175U, 1195U, 1315U, 1300U, 1485U, 1440U, 1195U },
|
||||
|
||||
/* Computed Parameter: ACT1_Value_d
|
||||
* Referenced by: '<S572>/ACT1'
|
||||
* Referenced by: '<S593>/ACT1'
|
||||
*/
|
||||
{ 1225U, 1320U, 1270U, 1485U, 1480U, 1175U },
|
||||
{ 1225U, 1320U, 1270U, 1540U, 1480U, 1175U },
|
||||
|
||||
/* Computed Parameter: ACT1_Value_o
|
||||
* Referenced by: '<S639>/ACT1'
|
||||
* Referenced by: '<S660>/ACT1'
|
||||
*/
|
||||
{ 3075U, 3075U, 1605U, 1840U, 1650U, 1635U, 1820U, 1605U },
|
||||
{ 3075U, 3075U, 1605U, 1840U, 1650U, 1635U, 1820U, 1650U },
|
||||
|
||||
/* Computed Parameter: Constant3_Value
|
||||
* Referenced by: '<S487>/Constant3'
|
||||
/* Pooled Parameter (Expression: [1 2 3 4 5 6 7 8 9])
|
||||
* Referenced by:
|
||||
* '<S505>/Constant3'
|
||||
* '<S554>/Constant5'
|
||||
* '<S549>/Constant5'
|
||||
*/
|
||||
{ 1U, 2U, 3U, 4U, 5U, 6U, 7U, 8U, 9U },
|
||||
|
||||
/* Computed Parameter: Constant3_Value_i
|
||||
* Referenced by: '<S554>/Constant3'
|
||||
/* Computed Parameter: Constant3_Value
|
||||
* Referenced by: '<S575>/Constant3'
|
||||
*/
|
||||
{ 1U, 2U, 3U, 4U, 5U, 6U },
|
||||
|
||||
/* Computed Parameter: Constant3_Value_j
|
||||
* Referenced by: '<S621>/Constant3'
|
||||
* Referenced by: '<S642>/Constant3'
|
||||
*/
|
||||
{ 1U, 2U, 3U, 4U, 5U, 6U, 7U, 8U },
|
||||
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@
|
|||
*
|
||||
* Code generated for Simulink model 'HVAC_model'.
|
||||
*
|
||||
* Model version : 1.866
|
||||
* Model version : 1.876
|
||||
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
|
||||
* C/C++ source code generated on : Tue May 5 14:20:39 2026
|
||||
* C/C++ source code generated on : Wed May 6 14:55:30 2026
|
||||
*
|
||||
* Target selection: ert.tlc
|
||||
* Embedded hardware selection: ARM Compatible->ARM Cortex-M
|
||||
|
|
@ -111,15 +111,15 @@ extern void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1
|
|||
extern void left(uint8_t rtu_idx, uint16_t rty_vals[9]);
|
||||
extern void IfActionSubsystem(int8_t *rty_Out1, double *rtd_ErrorHomming_private,
|
||||
double *rtd_Start_timer_i, int8_t *rtd_stepSig_private);
|
||||
extern void IfActionSubsystem1(int8_t *rty_Out1, double *rtd_Start_timer_i);
|
||||
extern void MATLABFunction_Init(DW_MATLABFunction *localDW);
|
||||
extern void MATLABFunction(double rtu_cond, uint32_t rtu_t_now, uint32_t *rty_dt,
|
||||
DW_MATLABFunction *localDW);
|
||||
extern void IfActionSubsystem1_d(int8_t *rty_Output, uint8_t
|
||||
extern void IfActionSubsystem1(int8_t *rty_Output, uint8_t
|
||||
*rtd_CCU_ActuatorErrF_Stat_private, uint8_t rtd_COM_private[9], uint8_t
|
||||
rtd_ErrorActuator[9], uint8_t rtd_ErrorCalibration_private[9], const double
|
||||
*rtd_LOGGER_LIN, uint8_t rtd_MODE_private[9], uint8_t
|
||||
rtd_dtc_state_error_model[127]);
|
||||
extern void IfActionSubsystem1_l(int8_t *rty_Out1, double *rtd_Start_timer_l);
|
||||
extern void AFforBiLevel(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void AFforDef(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void AFforFoorDef(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
|
|
@ -130,6 +130,16 @@ extern void AFforVentmode(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
|||
extern void AFforBiLevelR(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void AFforFootR(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void AFforVentmodeR(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void ValvesforBiLevel(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void ValvesforDef(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void ValvesforFoot(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void ValvesforFootDef(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void ValvesforHi_Level(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void ValvesforTriLevel(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void ValvesforVentmode(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void AFforBiLevel_m(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void AFforFoot_p(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void valvesforVentmode(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void g_assSTART_ENTER_INCAR_j(uint8_t rtu_LVL, int16_t *rty_out);
|
||||
extern void g_assSTART_ENTER_COOLANT_p(uint8_t rtu_LVL, int16_t *rty_out);
|
||||
extern void Level4(int8_t *rty_step1, const uint16_t *rtd_ECT, const uint8_t
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@
|
|||
*
|
||||
* Code generated for Simulink model 'HVAC_model'.
|
||||
*
|
||||
* Model version : 1.866
|
||||
* Model version : 1.876
|
||||
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
|
||||
* C/C++ source code generated on : Tue May 5 14:20:39 2026
|
||||
* C/C++ source code generated on : Wed May 6 14:55:30 2026
|
||||
*
|
||||
* Target selection: ert.tlc
|
||||
* Embedded hardware selection: ARM Compatible->ARM Cortex-M
|
||||
|
|
@ -252,6 +252,24 @@ typedef struct {
|
|||
|
||||
#endif
|
||||
|
||||
#ifndef DEFINED_TYPEDEF_FOR_dbgCAN_dbg_Logic_Blower_Bus_
|
||||
#define DEFINED_TYPEDEF_FOR_dbgCAN_dbg_Logic_Blower_Bus_
|
||||
|
||||
typedef struct {
|
||||
uint8_t Logic_Blower_Step_FL;
|
||||
uint8_t Logic_Blower_Step_FR;
|
||||
uint8_t Logic_Blower_Step_RL;
|
||||
uint8_t Logic_Blower_Step_RR;
|
||||
uint8_t Logic_Blower_Pwm_Front;
|
||||
uint8_t Logic_Blower_Pwm_Rear;
|
||||
uint8_t Logic_Blower_AF_FL;
|
||||
uint8_t Logic_Blower_AF_FR;
|
||||
uint8_t Logic_Blower_AF_RL;
|
||||
uint8_t Logic_Blower_AF_RR;
|
||||
} dbgCAN_dbg_Logic_Blower_Bus;
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef DEFINED_TYPEDEF_FOR_dbgCAN_dbg_Act0_Bus_
|
||||
#define DEFINED_TYPEDEF_FOR_dbgCAN_dbg_Act0_Bus_
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue