# WM_GetWirelessCounter

## Syntax

      #include <nitro/wm.h>

      WMErrCode WM_GetWirelessCounter( 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

Gets the current counter values of the send/receive frame If the return value of this function is `WM_ERRCODE_OPERATING`, a callback is generated after the counter acquisition process is complete.

## See Also

`WM_InitWirelessCounter`

## 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