User Manual

Table Of Contents
AN706-00040-2v0-E
93
7.2.8.8 Touch Panel Touch Detection Processing Function
Touch panel touch detection processing is executed. (av_demoapp_tp_detect)
Detects which position of the nine areas (see Figure 47) on the LCD has been touched.
Start
Loop counter <-
Loop counter < number of
touch areas
No
Yes
Current touch panel status
changes to touch status
Set current touch panel touch status to
touch detection complete status.
Current touch panel status
changes to no touch status
Set current touch panel no touch status
to touch detection complete status.
Set detection for current touch panel
detection status.
Set touch panel area IDIncrement loop counter.
Yes
No
Yes
No
Finish
Get area status from touch panel.
(TOUCH_GetAreaStatus)
Figure 68 Touch Panel Touch Detection Processing Function Flow