# MIC_StopLimitedSamplingAsync

## Syntax

  `#include <twl/spi.h>`

      MICResult MIC_StopLimitedSamplingAsync(
                  MICCallback		callback,
                  void*		arg );

## Arguments

callback | Specifies the 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 processing result as a `MICResult` enumerated type. Returns `MIC_RESULT_SUCCESS` if the asynchronous process started normally; returns some other value if the process failed.

## Description

Asynchronously stops frequency-limited microphone auto-sampling. This function issues a request to the ARM7 to stop frequency-limited auto-sampling, then returns control to the caller without waiting for a response. You must use the `result` argument passed by the user callback function to get the ARM7 processing result. If this function fails, the asynchronous operation is not performed and the user callback function is not called.

## Note

Because frequency-limited auto-sampling cannot be performed on the NITRO platform or when the CODEC is running in CODEC-DS mode, this function will instead internally call the `MIC_StopAutoSamplingAsync` auto-sampling control function.

It has been confirmed that slight hardware noise is mixed with the microphone input on the TWL console. See here for a workaround.

## See Also

`MIC_StopLimitedSampling, MIC_StartLimitedSamplingAsync, MIC_AdjustLimitedSamplingAsync`

## Revision History

2008/01/09 Added a note about the difference in behavior with CODEC mode.
2007/11/17 Initial version.

CONFIDENTIAL