1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>MIC_StopAutoSampling</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">MIC_StopAutoSampling <img src="../../image/NTR.gif"><img src="../../image/TWL.gif"></h1>
15
16<h2>Syntax</h2>
17<dl>
18  <dd>
19<CODE>#include &lt;nitro/spi.h&gt;</CODE><BR>
20  <PRE><CODE><A href="MICResult.html">MICResult</A> MIC_StopAutoSampling( void );</CODE></PRE>
21  </dd>
22</dl>
23
24<h2>Arguments</h2>
25<P>
26None.
27</P>
28
29<h2>Return Values</h2>
30<P>
31Returns the processing result as a <CODE><A href="MICResult.html">MICResult</A></CODE> enumerated type. Returns <CODE>MIC_RESULT_SUCCESS</CODE> if processing completes successfully, and some other value if the process fails for some reason.
32</P>
33
34<H2>Description</H2>
35<P>
36Stops microphone auto-sampling. The function issues a request to ARM7 to stop auto-sampling, waits for ARM7 to respond and returns the process result. This is the synchronous version of the <CODE><A href="MIC_StopAutoSamplingAsync.html">MIC_StopAutoSamplingAsync</A></CODE> function.
37</P>
38<P>
39This function returns <CODE>MIC_RESULT_INVALID_COMMAND</CODE> when the CODEC is running in CODEC-TWL mode because auto-sampling cannot be run at an arbitrary frequency in CODEC-TWL mode. In other words, this function can only be used when the CODEC is running in CODEC-DS mode.
40</P>
41
42<H2>Note</H2>
43<P>
44<FONT color=red>This function waits for a PXI interrupt for synchronization purposes. Do not call it when PXI interrupts are prohibited.</FONT>
45</P>
46
47<H2>See Also</H2>
48<P>
49<a href="MIC_StopAutoSamplingAsync.html"><code>MIC_StopAutoSamplingAsync</code></a><BR><a href="MIC_StartAutoSampling.html"><code>MIC_StartAutoSampling</code></a><BR><a href="MIC_AdjustAutoSampling.html"><code>MIC_AdjustAutoSampling</code></a>
50</P>
51
52<H2>Revision History</H2>
53<P>
542009/05/14 Added the TWL icon and a description related to CODEC. <BR>2008/01/09 Revised a description of differences in behavior due to the CODEC mode. <BR>2007/11/17 Added a description of operations on the TWL platform. <BR>2005/03/08 Standardized the Japanese notation of the term for &quot;interrupt.&quot; <br>2005/01/11 Revised <B>Return Values</B> and added functions to <B>See Also</B>. <BR>2004/06/01 Initial version.<BR>
55</P>
56<hr><p>CONFIDENTIAL</p></body>
57</html>
58