5 flow chart for tsi – Toshiba H1 Series User Manual

Page 572

Advertising
background image

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

TSICR0

←98H

TSICR1

←XXH (voluntary)

(1) Touch Detection Procedure

INT4 Routine:

(2) X/Y Position

Measurement Procedure

Yes

No

Return to Main Routine

Main Routine:

<X position measurement>

TSICR0

←C5H

AD conversion for AN3
Store the result

<Y position measurement>

TSICR0

←CAH

AD conversion for AN2
Store the result

Execute an operation
By using X/Y-position

Still touched?

TSICR0<PTST> = 1?

(a)

(b)

(c)

Advertising
This manual is related to the following products: