1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>TP_SetCallback</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">TP_SetCallback <img src="../../image/NTR.gif"><img src="../../image/TWL.gif"></h1>
15<h2>Syntax</h2>
16
17<dl>
18  <dd>
19<CODE>#include &lt;nitro/spi.h&gt;</CODE><BR>
20  <PRE><CODE>void TP_SetCallback( <A href="TPRecvCallback.html">TPRecvCallback</A> callback );</CODE></PRE>
21  </dd>
22</dl><h2>Arguments</h2>
23<TABLE border="1" width="100%">
24  <TBODY>
25    <TR>
26      <TD width="300"><em><strong><font face="Courier New">callback</font></strong></em></TD>
27      <TD width="700">Pointer to the user callback function <br>This callback is called from the interrupt handler.</TD>
28    </TR>
29  </TBODY>
30</TABLE>
31<h2>Return Values</h2>
32<p>None.</p>
33<H2>Description</H2>
34<P>This function sets the user callback function called during acquisition of the result of a touch panel request to the ARM7 processor. If the argument is NULL, no user callback will be called until it is subsequently reset. (The default is NULL.)</P>
35
36<h2>See Also</h2>
37<P><A href="TPRecvCallback.html"><CODE>TPRecvCallback</CODE></A></P>
38<H2>Revision History</H2>
39<P>2005/06/27 Added additional text indicating that the callback is called from the interrupt handler. <br> 2004/04/16 Initial version<BR></P>
40<hr><p>CONFIDENTIAL</p></body>
41</html>
42