KPADGetWPADFSRingBuffer

C Specification

#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 the autosampling from the WPAD library. This function gets the starting address of the WPADFSStatus structure ring buffer used by that autosampling. The length of the buffer is defined in KPAD_RING_BUFS. To reference values in a WPADFSStatus structure directly, use the WPADGetLatestIndexInBuf function in parallel to reference the appropriate value.

See Also

Revision History

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


CONFIDENTIAL