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<h1>KPADGetWPADCLRingBuffer</h1> 13 14<h2>Syntax</h2> 15<dl><dd><pre class="construction"> 16#include <revolution/kpadOld.h> 17 18WPADCLStatus *KPADGetWPADCLRingBuffer( s32 chan ); 19</pre></dd></dl> 20 21<h2>Arguments</h2> 22<p> 23<TABLE class="arguments" border="1" > 24 <TBODY> 25 <TR> 26<TH>chan</TH> 27<TD>One of the <code>WPAD_CHAN<i>n</i></code> values.</TD> 28 </TR> 29 </TBODY> 30</TABLE> 31</p> 32 33<h2>Return Values</h2> 34<p> 35Returns the start address of the <a href="../wpad/WPADStatus.html"><code>WPADCLStatus</code></a> structure ring buffer. 36</p> 37 38<H2>Description</H2> 39<p> 40KPAD library uses 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. <CODE>KPAD_RING_BUFS</CODE> defines the buffer's length. 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. 41</p> 42 43<h2>See Also</h2> 44<P>None.</P> 45 46<H2>Revision History</H2> 47<P> 482006/10/25 Changed the name to KPADOld library, beginning with Revolution SDK 2.3.<br>2006/09/07 Initial version.<br> 49</P> 50 51<hr><p>CONFIDENTIAL</p></body> 52</html>