# WM_InitWirelessCounter

## C Specification

      #include <nitro/wm.h>

      WMErrCode WM_InitWirelessCounter( WMCallbackFunc callback );

## Arguments

`callback` | Designates the callback function to call when the asynchronous process completes. This callback is called from within the interrupt handler.

## Return Values

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

## Description

Initializes the counter of the send/receive frame If the return value is `WM_ERRCODE_OPERATING`, a callback occurs after the counter initialization process is complete.

## See Also

`WM_GetWirelessCounter`

## Revision History

06/08/2005 Added statement about callbacks being called from the interrupt handler.
10/22/2004 Changed return value type.
08/11/2004 Initial version