/* Configure the FT5336 device to generate IT on given INT pin connected to MCU as EXTI.  */
void ft5336_TS_EnableIT(uint16_t DeviceAddr)
/* Configure the FT5336 device to generate IT on given INT pin connected to MCU as EXTI.  */
void ft5336_TS_EnableIT(uint16_t DeviceAddr)
{
   uint8_t regValue = 0;
   regValue = (FT5336_G_MODE_INTERRUPT_TRIGGER & (FT5336_G_MODE_INTERRUPT_MASK >> FT5336_G_MODE_INTERRUPT_SHIFT)) << FT5336_G_MODE_INTERRUPT_SHIFT;
   TS_IO_Write(DeviceAddr, FT5336_GMODE_REG, regValue);
}