/*
 * File: TouchBoard_0x309_Send_And_ACT_Req_10ms.c
 *
 * Code generated for Simulink model 'P417_SWTR_App'.
 *
 * Model version                  : 1.150
 * Simulink Coder version         : 8.13 (R2017b) 24-Jul-2017
 * C/C++ source code generated on : Thu Dec 15 23:34:40 2022
 *
 * Target selection: ert.tlc
 * Embedded hardware selection: Intel->x86-64 (Windows64)
 * Code generation objectives: Unspecified
 * Validation result: Not run
 */

#include "TouchBoard_0x309_Send_And_ACT_Req_10ms.h"

/* Include model header file for global data */
#include "P417_SWTR_App.h"
#include "P417_SWTR_App_private.h"

/* Output and update for function-call system: '<S2>/TouchBoard_0x309_Send_And_ACT_Req_10ms' */
void TouchBoard_0x309_Send_And_ACT_R(uint8_T rtu_XY_Touch_And_Below_1N_af_hd,
  uint8_T *rty_Set_0x309_Send_And_ACT_Req, uint8_T *rty_Set_0x309_Send)
{
  /* DataTypeConversion: '<S17>/Data Type Conversion' incorporates:
   *  Constant: '<S56>/Constant'
   *  RelationalOperator: '<S56>/Compare'
   */
  *rty_Set_0x309_Send_And_ACT_Req = (uint8_T)(rtu_XY_Touch_And_Below_1N_af_hd >
    0);

  /* Gain: '<S17>/Gain1' */
  *rty_Set_0x309_Send = *rty_Set_0x309_Send_And_ACT_Req;
}

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