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_RequestAutoSamplingStop</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">TP_RequestAutoSamplingStop <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>u32 TP_RequestAutoSamplingStop( void );</CODE></PRE>
21  </dd>
22</dl>
23<h2>Arguments</h2>
24<P>None.</P>
25<h2>Return Values</h2>
26<p>Returns 0 if the request succeeds; returns non-zero value if it fails. For details, see <CODE><A href="TPRequestResult.html">TPRequestResult</A></CODE>.</p>
27<H2>Description</H2>
28<P>This function issues a request to ARM7 to stop auto-sampling touch screen values, and waits internally for the request to complete. This is the synchronous version of the <CODE><A href="TP_RequestAutoSamplingStopAsync.html">TP_RequestAutoSamplingStopAsync</A></CODE> function.</P>
29<H2>Note</H2>
30<P><FONT color="#ff0000">This function uses an interrupt to wait for a completion response from ARM7. Note that if this function is called while FIFO receive interrupts from ARM7 are prohibited, it will not return from waiting.</FONT></P>
31<h2>See Also</h2>
32<P><CODE><A href="TP_RequestAutoSamplingStart.html">TP_RequestAutoSamplingStart</A><BR><A href="TP_RequestAutoSamplingStopAsync.html">TP_RequestAutoSamplingStopAsync</A></CODE></P>
33<H2>Revision History</H2>
34<P>2009/04/28 Added <CODE>TPRequestResult</CODE> to the return value description. <br>2004/04/21 Created an asynchronous version and made this version synchronous. <BR>2004/04/16 Initial version.</P>
35<hr><p>CONFIDENTIAL</p></body>
36</html>
37