/*
 * File: TouchBoard_0x305_Send_And_ACT_Req_4ms.c
 *
 * Code generated for Simulink model 'P417_SWTL_App'.
 *
 * Model version                  : 1.156
 * Simulink Coder version         : 8.13 (R2017b) 24-Jul-2017
 * C/C++ source code generated on : Sun Jun 25 21:44:44 2023
 *
 * Target selection: ert.tlc
 * Embedded hardware selection: Intel->x86-64 (Windows64)
 * Code generation objectives: Unspecified
 * Validation result: Not run
 */

#include "TouchBoard_0x305_Send_And_ACT_Req_4ms.h"

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

/* Output and update for function-call system: '<S2>/TouchBoard_0x305_Send_And_ACT_Req_4ms' */
void TouchBoard_0x305_Send_And_ACT_R(uint8_T rtu_LeMFctActSgUp_after_handle,
  uint8_T rtu_LeMFctActSgDn_after_handle, uint8_T rtu_LeMFctActSgLe_after_handle,
  uint8_T rtu_LeMFctActSgRi_after_handle, uint8_T rtu_LeMFctActSgCe_after_handle,
  uint8_T rtu_SwpUpDwnStsLe_after_handle, uint8_T rtu_SwpLeRiStsLe_after_handle,
  uint8_T rtu_SteerWhlTouchBdADAS_after_h, uint8_T
  rtu_SteerWhlTouchBdCrsResuSteer, uint8_T rtu_SteerWhlTouchBdCnclSteerWhl,
  uint8_T *rty_Set_0x305_Send_And_ACT_Req)
{
  /* DataTypeConversion: '<S21>/Data Type Conversion' incorporates:
   *  Constant: '<S41>/Constant'
   *  Constant: '<S42>/Constant'
   *  Constant: '<S43>/Constant'
   *  Constant: '<S44>/Constant'
   *  Constant: '<S45>/Constant'
   *  Constant: '<S46>/Constant'
   *  Constant: '<S47>/Constant'
   *  Constant: '<S48>/Constant'
   *  Constant: '<S49>/Constant'
   *  Constant: '<S50>/Constant'
   *  Logic: '<S21>/Logical Operator1'
   *  RelationalOperator: '<S41>/Compare'
   *  RelationalOperator: '<S42>/Compare'
   *  RelationalOperator: '<S43>/Compare'
   *  RelationalOperator: '<S44>/Compare'
   *  RelationalOperator: '<S45>/Compare'
   *  RelationalOperator: '<S46>/Compare'
   *  RelationalOperator: '<S47>/Compare'
   *  RelationalOperator: '<S48>/Compare'
   *  RelationalOperator: '<S49>/Compare'
   *  RelationalOperator: '<S50>/Compare'
   */
  *rty_Set_0x305_Send_And_ACT_Req = (uint8_T)((rtu_LeMFctActSgUp_after_handle >
    0) || (rtu_LeMFctActSgDn_after_handle > 0) ||
    (rtu_LeMFctActSgLe_after_handle > 0) || (rtu_LeMFctActSgRi_after_handle > 0)
    || (rtu_LeMFctActSgCe_after_handle > 0) || (rtu_SwpUpDwnStsLe_after_handle >
    0) || (rtu_SwpLeRiStsLe_after_handle > 0) ||
    (rtu_SteerWhlTouchBdADAS_after_h > 0) || (rtu_SteerWhlTouchBdCrsResuSteer >
    0) || (rtu_SteerWhlTouchBdCnclSteerWhl > 0));
}

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