Micro Controller User's Manual

Table Of Contents
TMP92CZ26A
92CZ26A-569
3.20.5 Flow chart for TSI
Figure 3.20.6 Flow chart for TSI
Following pages explain each circuit condition of (a), (b) and (c) in above flow chart.
Execute Main Routine
TSICR098H
TSICR1XXH (voluntary)
(1) Touch Detection Procedure
INT4 Routine:
(2) X/Y Position
Measurement Procedure
Yes
No
Return to Main Routine
Main Routine:
<X position measurement>
TSICR0C5H
AD conversion for AN3
Store the result
<Y position measurement>
TSICR0CAH
AD conversion for AN2
Store the result
Execute an operation
By using X/Y-position
Still touched?
TSICR0<PTST> = 1?
(a)
(b)
(c)