1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<TITLE>TP_GetCalibratedResult</TITLE> 8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 9</HEAD> 10<BODY> 11<H1 align="left">TP_GetCalibratedResult <img src="../../image/NTR.gif"><img src="../../image/TWL.gif"></H1> 12<H2>Syntax</H2> 13<DL> 14 <DD><CODE>#include <nitro/spi.h></CODE><BR> 15 <PRE><CODE>u32 TP_GetCalibratedResult( <A href="TPData.html">TPData</A> * result );</CODE></PRE> 16</DL> 17<H2>Arguments</H2> 18<TABLE border="1" width="100%"> 19 <TBODY> 20 <TR> 21 <TD width="300"><EM><STRONG><FONT face="Courier New">result</FONT></STRONG></EM></TD> 22 <TD width="700">Pointer to the variable to obtain touch-panel values.</TD> 23 </TR> 24 </TBODY> 25</TABLE> 26<H2>Return Values</H2> 27<P>0 if touch-panel value is obtained successfully.<br>Non-zero value if task fails due to some error.</P> 28<H2>Description</H2> 29<P>Considers the touch-panel values requested by the <CODE><A href="TP_RequestSamplingAsync.html">TP_RequestSamplingAsync</A></CODE> function to have been set by the ARM7, and gets these values as calibrated screen coordinates. (X value ranges between 0 and 255; Y value ranges between 0 and 191) The value obtained here already accounts for chattering. If a response from ARM7 has not come yet, it may not be possible to obtain a correct value.</P> 30<H2>See Also</H2> 31<P><a href="TP_RequestSamplingAsync.html"><code>TP_RequestSamplingAsync</code></a>, <a href="TP_WaitCalibratedResult.html"><code>TP_WaitCalibratedResult</code></a>, <a href="TP_WaitRawResult.html"><code>TP_WaitRawResult</code></a>, <a href="TPData.html"><code>TPData</code></a></P> 32<H2>Revision History</H2> 33<P>2004/04/16 Initial version.</P> 34<hr><p>CONFIDENTIAL</p></body> 35</HTML>