# WM_InitWirelessCounter

## Syntax

      #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

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

CONFIDENTIAL