KPADGetWPADFSRingBuffer

C Specification

#include <revolution/kpad.h>
WPADFSStatus *KPADGetWPADFSRingBuffer( s32 chan ) ;

Arguments

chan One of 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

03/01/2006 Initial version.