06.11.2014 Views

RAiO RA8806 - Display Future

RAiO RA8806 - Display Future

RAiO RA8806 - Display Future

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Version 1.3<br />

<strong>RA8806</strong><br />

Two Layers Character/Graphic LCD Controller<br />

Please refer to the following flow chart and the setting examples for applying Interrupt Mode:<br />

(1) Flowchart:<br />

Start<br />

Enable Touch Panel<br />

( REG[C0h] B7 = 1 )<br />

Set Manual Mode<br />

( REG[C4h] B7 = 1 )<br />

Enable TP INT Mask<br />

( REG[0Fh] B4 = 1 )<br />

ISR<br />

Check INT Status<br />

( REG[0Fh] B0 = ? )<br />

1<br />

Latch X Data<br />

( REG[C4h][1:0] = 10 )<br />

0<br />

Wait for TP event Mode<br />

( REG[C4h][1:0] = 01 )<br />

Ext. INT Event<br />

Latch Y Data<br />

( REG[C4h][1:0] = 11 )<br />

Read X, Y-axis<br />

( Read REG[C1h],<br />

REG[C2h], REG[C3h] )<br />

Other Functions<br />

Execute Function<br />

Clear TP INT Status<br />

( REG[0Fh] B0 = 0 )<br />

ISR Termination<br />

Figure 6-20 : Manual Mode Flowchart for Touch Screen<br />

<strong>RAiO</strong> TECHNOLOGY INC. 46/193 www.raio.com.tw

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!