2.1.2 touch_process

void touch_process(void);

Description: This function monitors various flags used in touch.c file and calls touch libraries APIs accordingly. This is a scheduler for all touch related API calls. When timer gives a periodic interrupt, this function starts the touch measurement. When the touch measurement is completed, post-processing APIs are also called in this function. This function should be called as frequently as possible. In a typical application, this can be called in the main while(1) loop without any additional checks. In RTOS based application, this can be called in a task which is executed at shorter interval or when there is an interrupt occurs (either due to timer or due to touch measurement hardware - PTC, HCVD). Any delay in calling this function can affect response time.

Parameter: None

Return: None