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.2.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>WM_SetMPInterval</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">WM_SetMPInterval <img src="../../image/NTR.gif"><img src="../../image/TWL.gif"></H1>
15<h2>Syntax</h2>
16<dl>
17  <dd><PRE><CODE>#include &lt;nitro/wm.h&gt;
18
19<A href="WMErrCode.html">WMErrCode</A> WM_SetMPInterval(
20        <A href="WMCallbackFunc.html">WMCallbackFunc</A>  callback ,
21        u16             parentInterval,
22        u16             childInterval
23);
24</CODE></PRE></dd>
25</dl>
26
27<h2>Arguments</h2>
28<table border="1" width="100%">
29  <tbody>
30    <TR>
31      <TD width="200"><EM><STRONG><FONT face="Courier New">callback</FONT></STRONG></EM></TD>
32      <TD width="800">Designates the callback function to call when the asynchronous process completes. This callback is called from within the interrupt handler.</TD>
33    </TR>
34    <TR>
35      <TD width="200"><EM><STRONG><FONT face="Courier New">parentInterval</FONT></STRONG></EM></TD>
36      <TD width="800">Specifies in microseconds the MP communication interval for a parent during which communications can be carried out continuously during a single frame.</TD>
37    </TR>
38    <TR>
39      <TD width="200"><EM><STRONG><FONT face="Courier New">childInterval</FONT></STRONG></EM></TD>
40      <TD width="800">Specifies in microseconds the MP communication interval for a child during which communications can be carried out continuously during a single frame.</TD>
41    </TR>
42   </tbody>
43</table>
44
45<h2>Return Values</h2>
46<p>Returns the results of the <CODE><A href="WMErrCode.html">WMErrCode</A></CODE> enumerated type process.</p>
47
48<H2>Description</H2>
49<P>Sets the interval during which MP communications may be performed continuously during a single frame. For details, see the &quot;Wireless Communication Library Description.&quot;</P>
50<P>This wrapper function calls the <A href="WM_SetMPParameter.html"><CODE>WM_SetMPParameter</CODE></A> function internally.</P>
51
52<h2>See Also</h2>
53<P><code><A href="WM_SetMPParameter.html">WM_SetMPParameter</A>, <A href="WM_StartMP.html">WM_StartMP</A>, <A href="WM_SetMPDataToPort.html">WM_SetMPDataToPort</A></code></P>
54
55<H2>Revision History</H2>
56<P>
572005/11/24 Initial version.
58</P>
59<hr><p>CONFIDENTIAL</p></body>
60</html>
61