KPADGetWPADCLRingBuffer

Syntax

#include <revolution/kpadOld.h>

WPADCLStatus *KPADGetWPADCLRingBuffer( s32 chan );

Arguments

chan One of the WPAD_CHANn values.

Return Values

Returns the start address of the WPADCLStatus structure ring buffer.

Description

KPAD library uses autosampling from the WPAD library. This function gets the start address of the WPADCLStatus structure ring buffer used by that autosampling. KPAD_RING_BUFS defines the buffer's length. If you want to directly access values in the WPADCLStatus structure, appropriate values can be accessed through the joint use of the WPADGetLatestIndexInBuf function.

See Also

None.

Revision History

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


CONFIDENTIAL