/* Get the touch detailed informations on touch number 'touchIdx' (0..1) This touch detailed information contains :  */
void ft3x67_TS_GetTouchInfo(uint16_t DeviceAddr, uint32_t touchIdx, uint32_t *pWeight, uint32_t *pArea, uint32_t *pEvent)
/* Get the touch detailed informations on touch number 'touchIdx' (0..1) This touch detailed information contains :  */
void ft3x67_TS_GetTouchInfo(uint16_t DeviceAddr, uint32_t touchIdx, uint32_t *pWeight, uint32_t *pArea, uint32_t *pEvent)
{
  volatile uint8_t ucReadData = 0U;
  uint8_t regAddressXHigh     = 0U;
  if(touchIdx < ft3x67_handle.currActiveTouchNb)
  {
    switch(touchIdx)
    {
    case 0U :
      regAddressXHigh   = FT3X67_P1_XH_REG;
      break;
    case 1U :
      regAddressXHigh   = FT3X67_P2_XH_REG;
      break;
    default :
      break;
    }
    ucReadData = TS_IO_Read(DeviceAddr, regAddressXHigh);
    *pEvent = (ucReadData & FT3X67_TOUCH_EVT_FLAG_MASK) >> FT3X67_TOUCH_EVT_FLAG_SHIFT;
    *pWeight = 0;
    *pArea   = 0;
  }
}