TP_RequestAutoSamplingStop

Syntax

#include <nitro/spi.h>
u32 TP_RequestAutoSamplingStop( void );

Arguments

None.

Return Values

Returns 0 if the request succeeds; returns non-zero value if it fails. For details, see TPRequestResult.

Description

This function issues a request to ARM7 to stop auto-sampling touch screen values, and waits internally for the request to complete. This is the synchronous version of the TP_RequestAutoSamplingStopAsync function.

Note

This function uses an interrupt to wait for a completion response from ARM7. Note that if this function is called while FIFO receive interrupts from ARM7 are prohibited, it will not return from waiting.

See Also

TP_RequestAutoSamplingStart
TP_RequestAutoSamplingStopAsync

Revision History

2009/04/28 Added TPRequestResult to the return value description.
2004/04/21 Created an asynchronous version and made this version synchronous.
2004/04/16 Initial version.


CONFIDENTIAL