/*
 * File: TouchBoard_0x300_Send_And_ACT_Req_10ms.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 "TouchBoard_0x300_Send_And_ACT_Req_10ms.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_0x300_Send_And_ACT_Req_10ms' */
void TouchBoard_0x300_Send_And_ACT_R(uint8_T rtu_SteerWhlTouchBdLeSteerWhlTo,
  uint8_T rtu_XY_Touch_And_Below_1N_af_hd, uint8_T
  *rty_Set_0x300_Send_And_ACT_Req, uint8_T *rty_Set_0x300_Send)
{
  /* DataTypeConversion: '<S20>/Data Type Conversion' incorporates:
   *  Constant: '<S45>/Constant'
   *  RelationalOperator: '<S45>/Compare'
   */
  *rty_Set_0x300_Send_And_ACT_Req = (uint8_T)(rtu_SteerWhlTouchBdLeSteerWhlTo >
    0);

  /* DataTypeConversion: '<S20>/Data Type Conversion1' incorporates:
   *  Constant: '<S46>/Constant'
   *  RelationalOperator: '<S46>/Compare'
   */
  *rty_Set_0x300_Send = (uint8_T)(rtu_XY_Touch_And_Below_1N_af_hd > 0);
}

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