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 <nitro/spi.h></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.</p> 27<H2>Description</H2> 28<P>This function issues a request to ARM7 to stop autosampling touch panel 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>This function uses an interrupt to wait for a completion response from ARM7. Notice that if it is called while FIFO receive interrupts from ARM7 are prohibited, it will not be possible to return from wait.</P> 31<h2>See Also</h2> 32<P><CODE><A href="TP_RequestAutoSamplingStart.html">TP_RequestAutoSamplingStart</A>, <A href="TP_RequestAutoSamplingStopAsync.html">TP_RequestAutoSamplingStopAsync</A></CODE></P> 33<H2>Revision History</H2> 34<P>2004/04/21 Made asynchronous version and made it synchronous. <BR>2004/04/16 Initial version.</P> 35<hr><p>CONFIDENTIAL</p></body> 36</html> 37