KPADGetWPADFSRingBuffer

Syntax

#include <revolution/kpadOld.h>

WPADFSStatus *KPADGetWPADFSRingBuffer( s32 chan );

Arguments

chan One of the WPAD_CHANn values.

Return Values

Returns the starting address of the WPADFSStatus structure ring buffer.

Description

KPAD library uses autosampling from the WPAD library. This function gets the starting address of the WPADFSStatus structure ring buffer used by that autosampling. KPAD_RING_BUFS defines the buffer's length. To reference values in a WPADFSStatus structure directly, use the WPADGetLatestIndexInBuf function in parallel to reference the appropriate value.

See Also

None.

Revision History

2006/10/25 Changed the name to KPADOld library, beginning with Revolution SDK 2.3.
2006/03/01 Initial version.


CONFIDENTIAL