chg-stn-motherboard-ti-mcu/ivec_APP/inc/socTouchDisplay.h

139 lines
5.1 KiB
C

/*
* File: socTouchDisplay.h
*
* Code generated for Simulink model 'socTouchDisplay'.
*
* Model version : 1.140
* Simulink Coder version : 23.2 (R2023b) 01-Aug-2023
* C/C++ source code generated on : Mon Jan 20 13:31:03 2025
*
* Target selection: ert.tlc
* Embedded hardware selection: Intel->x86-64 (Windows64)
* Code generation objectives: Unspecified
* Validation result: Not run
*/
#ifndef RTW_HEADER_socTouchDisplay_h_
#define RTW_HEADER_socTouchDisplay_h_
#ifndef socTouchDisplay_COMMON_INCLUDES_
#define socTouchDisplay_COMMON_INCLUDES_
#include "rtwtypes.h"
#endif /* socTouchDisplay_COMMON_INCLUDES_ */
#include "socTouchDisplay_types.h"
#include "ivec_rte_dummy.h"
/* 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
/* Block signals (default storage) */
typedef struct {
CAN_MESSAGE_BUS Selector; /* '<S3>/Selector' */
CAN_MESSAGE_BUS SFunction; /* '<S3>/S-Function' */
uint8_T In1[8]; /* '<S5>/In1' */
boolean_T Compare; /* '<S7>/Compare' */
} B_socTouchDisplay_T;
/* Block states (default storage) for system '<Root>' */
typedef struct {
void* SFunction_canFrameBUS; /* '<S3>/S-Function' */
uint32_T durationCounter_1; /* '<Root>/Chart1' */
uint32_T temporalCounter_i1; /* '<Root>/Chart' */
uint32_T durationCounter_1_l; /* '<Root>/Chart' */
uint32_T durationCounter_2; /* '<Root>/Chart' */
uint32_T durationCounter_1_a; /* '<Root>/Chart' */
uint8_T is_active_c1_socTouchDisplay;/* '<Root>/Chart1' */
uint8_T is_c1_socTouchDisplay; /* '<Root>/Chart1' */
uint8_T is_active_c3_socTouchDisplay;/* '<Root>/Chart' */
uint8_T is_c3_socTouchDisplay; /* '<Root>/Chart' */
uint8_T is_chargingMode; /* '<Root>/Chart' */
} DW_socTouchDisplay_T;
/* External inputs (root inport signals with default storage) */
typedef struct {
real_T in_bTouchDetected; /* '<Root>/in_bTouchDetected' */
real_T ip_u32TouchDuration_msec; /* '<Root>/ip_u32TouchDuration_msec' */
real_T ip_u32DisplayDuration_msec; /* '<Root>/ip_u32DisplayDuration_msec' */
CAN_MESSAGE_BUS Input[MAX_CAN_MESSAGE_INSTANCE];/* '<Root>/Input' */
uint32_T ip_u32canId; /* '<Root>/ip_u32canId' */
} ExtU_socTouchDisplay_T;
/* External outputs (root outports fed by signals with default storage) */
typedef struct {
boolean_T op_bDisplayStatus; /* '<Root>/op_bDisplayStatus' */
boolean_T op_bErrorStatus; /* '<Root>/op_bErrorStatus' */
uint8_T op_u8HundredsPlace; /* '<Root>/op_u8HundredsPlace' */
uint8_T op_u8TensPlace; /* '<Root>/op_u8TensPlace' */
uint8_T op_u8OnesPlace; /* '<Root>/op_u8OnesPlace' */
} ExtY_socTouchDisplay_T;
/* Real-time Model Data Structure */
struct tag_RTM_socTouchDisplay_T {
const char_T * volatile errorStatus;
};
/* Block signals (default storage) */
extern B_socTouchDisplay_T socTouchDisplay_B;
/* Block states (default storage) */
extern DW_socTouchDisplay_T socTouchDisplay_DW;
/* External inputs (root inport signals with default storage) */
extern ExtU_socTouchDisplay_T socTouchDisplay_U;
/* External outputs (root outports fed by signals with default storage) */
extern ExtY_socTouchDisplay_T socTouchDisplay_Y;
/* Model entry point functions */
extern void socTouchDisplay_initialize(void);
extern void socTouchDisplay_step(void);
extern void socTouchDisplay_terminate(void);
/* Real-time Model object */
extern RT_MODEL_socTouchDisplay_T *const socTouchDisplay_M;
/*-
* These blocks were eliminated from the model due to optimizations:
*
* Block '<S4>/Cast' : Eliminate redundant data type conversion
* Block '<S4>/Cast1' : Eliminate redundant data type conversion
* Block '<S4>/Cast2' : Eliminate redundant data type conversion
*/
/*-
* The generated code includes comments that allow you to trace directly
* back to the appropriate location in the model. The basic format
* is <system>/block_name, where system is the system number (uniquely
* assigned by Simulink) and block_name is the name of the block.
*
* Use the MATLAB hilite_system command to trace the generated code back
* to the model. For example,
*
* hilite_system('<S3>') - opens system 3
* hilite_system('<S3>/Kp') - opens and selects block Kp which resides in S3
*
* Here is the system hierarchy for this model
*
* '<Root>' : 'socTouchDisplay'
* '<S1>' : 'socTouchDisplay/Chart'
* '<S2>' : 'socTouchDisplay/Chart1'
* '<S3>' : 'socTouchDisplay/canMsgDecode'
* '<S4>' : 'socTouchDisplay/displayData'
* '<S5>' : 'socTouchDisplay/canMsgDecode/Enabled Subsystem'
* '<S6>' : 'socTouchDisplay/canMsgDecode/Enabled Subsystem1'
* '<S7>' : 'socTouchDisplay/canMsgDecode/Enabled Subsystem1/Compare To Constant'
*/
#endif /* RTW_HEADER_socTouchDisplay_h_ */
/*
* File trailer for generated code.
*
* [EOF]
*/