Product Application
©
Rev.1.1
Detection of 5 simultaneously touch points is provided by reading appropriate registers (stores touch
coordinates) as is shown in the following code:
ft_void_t read_extended(ft_int16_t sx[5], ft_int16_t sy[5])
{
ft_uint32_t sxy0, sxyA, sxyB, sxyC;
sxy0 = Ft_Gpu_Hal_Rd32(phost,REG_CTOUCH_TOUCH0_XY);
sxyA = Ft_Gpu_Hal_Rd32(phost,REG_CTOUCH_TOUCH1_XY);
sxyB = Ft_Gpu_Hal_Rd32(phost,REG_CTOUCH_TOUCH2_XY);
sxyC = Ft_Gpu_Hal_Rd32(phost,REG_CTOUCH_TOUCH3_XY);
sx[0] = sxy0 >> 16;
sy[0] = sxy0;
sx[1] = sxyA >> 16;
sy[1] = sxyA;
sx[2] = sxyB >> 16;
sy[2] = sxyB;
sx[3] = sxyC >> 16;
sy[3] = sxyC;
sx[4] = Ft_Gpu_Hal_Rd16(phost,REG_CTOUCH_TOUCH4_X);
sy[4] = Ft_Gpu_Hal_Rd16(phost,REG_CTOUCH_TOUCH4_Y);
}
4. Related documents
Revelation Board datasheet: http://riverdi.com/revelation/










