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>KPADGetWPADCLRingBuffer (KPADOld)</title>
8</head>
9
10<body>
11
12
13
14<h1>KPADGetWPADCLRingBuffer</h1>
15
16<h2>C Specification</h2>
17<dl>
18  <dd><pre><code>#include &lt;revolution/kpadOld.h&gt;</code></pre>
19  </dd>
20<dd><pre><code>WPADCLStatus *KPADGetWPADCLRingBuffer( s32 chan ) ;</code></pre>
21  </dd>
22</dl>
23
24<h2>Arguments</h2>
25<p>
26<TABLE border="1">
27  <TBODY>
28    <TR>
29<TD><code><b><i>chan</i></b></code></TD>
30<TD>one of the <code>WPAD_CHAN<i>n</i></code> values.</TD>
31    </TR>
32  </TBODY>
33</TABLE>
34</p>
35
36<h2>Return Values</h2>
37<p>
38Returns the start address of the <a href="../wpad/WPADStatus.html"><code>WPADCLStatus</code></a> structure ring buffer.
39</p>
40
41<H2>Description</H2>
42<p>
43KPAD library uses the autosampling from the WPAD library. This function gets the start address of the <a href="../wpad/WPADStatus.html"><code>WPADCLStatus</code></a> structure ring buffer used by that autosampling. The length of the buffer is defined in <code>KPAD_RING_BUFS</code>. If you want to directly access values in the <a href="../wpad/WPADStatus.html"><code>WPADCLStatus</code></a> structure, appropriate values can be accessed through the joint use of the <a href="../wpad/WPADGetLatestIndexInBuf.html"><code>WPADGetLatestIndexInBuf</code></a> function.
44</p>
45
46<h2>See Also</h2>
47
48<H2>Revision History</H2>
49<P>
502006/09/07 Initial version. <BR> 2006/10/25 Changed the name from Revolution SDK 2.3 to KPADOld library.<br>
51</P>
52
53<hr>
54<P>CONFIDENTIAL</p>
55</BODY>
56</HTML>