# MIC_StopAutoSamplingAsync

## C Specification

  `#include <nitro/spi.h>`

      MICResult MIC_StopAutoSamplingAsync(
      MICCallback     callback,
      void*		arg );

## Arguments

callback | Pointer to the callback function. This callback is called from within the interrupt handler.
arg | Argument to pass to the callback function.

## Return Values

Returns the enumerated-type `MICResult` process result. If the asynchronous process started normally, returns `MIC_RESULT_SUCCESS`. If the process fails for some reason, returns some other value.

## Description

Asynchronously stops microphone auto-sampling. The function issues a request to the ARM7 processor to stop auto-sampling and returns control to the invoker without waiting for a response from the ARM7 processor. To get the result from the processor, you must use the `result` argument. If this function fails, no operation is performed and no user callback function is called.

## See Also

`MIC_StopAutoSampling`, `MIC_StartAutoSampling`, `MIC_AdjustAutoSampling`

## Revision History

06/27/2005 Added text indicating that the callback is called from interrupt handler.
01/11/2005 Revised return value, added reference functions.
06/01/2004 Initial version.