MIC_StopLimitedSampling

Syntax

#include <twl/spi.h>
MICResult MIC_StopLimitedSampling( void );

Arguments

None.

Return Values

Returns the processing result as a MICResult enumerated type. Returns MIC_RESULT_SUCCESS if processing completed successfully; returns some other value if the process failed.

Description

Stops frequency-limited microphone auto-sampling.
This function issues a request to the ARM7 to stop frequency-limited auto-sampling, waits for the ARM7 to respond, and returns the processing result. This is a synchronous version of the MIC_StopLimitedSamplingAsync function.

Note

This function waits for a PXI interrupt for synchronization purposes. Do not call it when PXI interrupts are prohibited.

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_StopAutoSampling 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_StopLimitedSamplingAsync, MIC_StartLimitedSampling, MIC_AdjustLimitedSampling

Revision History

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


CONFIDENTIAL