/*
 * File: Set_Diag_20ms.c
 *
 * Code generated for Simulink model 'P417_SWTL_App'.
 *
 * Model version                  : 1.148
 * Simulink Coder version         : 8.13 (R2017b) 24-Jul-2017
 * C/C++ source code generated on : Tue Dec 20 16:43:44 2022
 *
 * Target selection: ert.tlc
 * Embedded hardware selection: Intel->x86-64 (Windows64)
 * Code generation objectives: Unspecified
 * Validation result: Not run
 */

#include "Set_Diag_20ms.h"

/* Include model header file for global data */
#include "P417_SWTL_App.h"
#include "P417_SWTL_App_private.h"

/* System initialize for function-call system: '<S1>/Set_Diag_20ms' */
void P417_SWTL_Ap_Set_Diag_20ms_Init(const ConstB_Set_Diag_20ms_P417_SWT_T
  *localC)
{
  /* SystemInitialize for SignalConversion: '<S14>/OutportBufferForSet_DiagcFailrTouchPanSWTLCmnFltSts' */
  RTE_Set_CAN_DiagcFailrTouchPanSWTLCmnFltSts(localC->Off);

  /* SystemInitialize for SignalConversion: '<S14>/OutportBufferForSet_DiagcFailrTouchPanSWTLSnsrFltSts' */
  RTE_Set_CAN_DiagcFailrTouchPanSWTLSnsrFltSts(localC->Off);

  /* SystemInitialize for SignalConversion: '<S14>/OutportBufferForSet_DiagcFailrTouchPanSWTLTouchdFltSts' */
  RTE_Set_CAN_DiagcFailrTouchPanSWTLTouchdFltSts(localC->Off);

  /* SystemInitialize for SignalConversion: '<S14>/OutportBufferForSet_DiagcFailrTouchPanSWTLVibrationFltSts' */
  RTE_Set_CAN_DiagcFailrTouchPanSWTLVibrationFltSts(localC->Off);
}

/* Output and update for function-call system: '<S1>/Set_Diag_20ms' */
void P417_SWTL_App_Set_Diag_20ms(const ConstB_Set_Diag_20ms_P417_SWT_T *localC)
{
  /* SignalConversion: '<S14>/OutportBufferForSet_DiagcFailrTouchPanSWTLCmnFltSts' */
  RTE_Set_CAN_DiagcFailrTouchPanSWTLCmnFltSts(localC->Off);

  /* SignalConversion: '<S14>/OutportBufferForSet_DiagcFailrTouchPanSWTLSnsrFltSts' */
  RTE_Set_CAN_DiagcFailrTouchPanSWTLSnsrFltSts(localC->Off);

  /* SignalConversion: '<S14>/OutportBufferForSet_DiagcFailrTouchPanSWTLTouchdFltSts' */
  RTE_Set_CAN_DiagcFailrTouchPanSWTLTouchdFltSts(localC->Off);

  /* SignalConversion: '<S14>/OutportBufferForSet_DiagcFailrTouchPanSWTLVibrationFltSts' */
  RTE_Set_CAN_DiagcFailrTouchPanSWTLVibrationFltSts(localC->Off);
}

/*
 * File trailer for generated code.
 *
 * [EOF]
 */
