# 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.

## Description

This function issues a request to ARM7 to stop autosampling touch panel 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. Notice that if it is called while FIFO receive interrupts from ARM7 are prohibited, it will not be possible to return from wait.

## See Also

`TP_RequestAutoSamplingStart, TP_RequestAutoSamplingStopAsync`

## Revision History

2004/04/21 Made asynchronous version and made it synchronous.
2004/04/16 Initial version.

CONFIDENTIAL