# WM_SetMPInterval

## Syntax

      #include <nitro/wm.h>

      WMErrCode WM_SetMPInterval(
              WMCallbackFunc  callback ,
              u16             parentInterval,
              u16             childInterval
      );

## Arguments

callback | Designates the callback function to call when the asynchronous process completes. This callback is called from within the interrupt handler.
parentInterval | Specifies in microseconds the MP communication interval for a parent during which communications can be carried out continuously during a single frame.
childInterval | Specifies in microseconds the MP communication interval for a child during which communications can be carried out continuously during a single frame.

## Return Values

Returns the results of the `WMErrCode` enumerated type process.

## Description

Sets the interval during which MP communications may be performed continuously during a single frame. For details, see the "Wireless Communication Library Description."

This wrapper function calls the `WM_SetMPParameter` function internally.

## See Also

`WM_SetMPParameter, WM_StartMP, WM_SetMPDataToPort`

## Revision History

2005/11/24 Initial version.

CONFIDENTIAL