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 http-equiv="Content-Style-Type" content="text/css">
6<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
7<title>KPADGetWPADRingBuffer (KPADOld)</title>
8</head>
9
10<body>
11
12
13
14<h1>KPADGetWPADRingBuffer</h1>
15
16
17<h2>C Specification</h2>
18<dl>
19  <dd><pre><code>#include &lt;revolution/kpadOld.h&gt;</code></pre>
20  </dd>
21<dd><pre><CODE>WPADStatus *KPADGetWPADRingBuffer( s32 chan ) ;</CODE></pre>
22  </dd>
23</dl>
24
25<h2>Arguments</h2>
26<p>
27<TABLE border="1">
28  <TBODY>
29    <TR>
30<TD><code><b><i>chan</i></b></code></TD>
31<TD>one of the <code>WPAD_CHAN<i>n</i></code> values.</TD>
32    </TR>
33  </TBODY>
34</TABLE>
35</p>
36
37<h2>Return Values</h2>
38<p>
39Returns the starting address of the <a href="../wpad/WPADStatus.html"><code>WPADStatus</code></a> structure ring buffer.
40</p>
41
42<H2>Description</H2>
43<p>
44KPAD library uses the autosampling from the WPAD library. This function gets the starting address of the <a href="../wpad/WPADStatus.html"><code>WPADStatus</code></a> structure ring buffer used by that autosampling. The length of the buffer is defined in <code>KPAD_RING_BUFS</code>. To reference values in a <a href="../wpad/WPADStatus.html"><code>WPADStatus</code></a> structure directly, use the <a href="../wpad/WPADGetLatestIndexInBuf.html"><code>WPADGetLatestIndexInBuf</code></a> function in parallel to reference the appropriate value.
45</p>
46
47<h2>See Also</h2>
48
49<H2>Revision History</H2>
50<P>
512006/03/01 Initial version. <BR> 2006/10/25 Changed the name from Revolution SDK 2.3 to KPADOld library.<br>
52</P>
53
54<hr>
55<P>CONFIDENTIAL</p>
56</BODY>
57</HTML>