# WM_PowerOn

## C Specification

      #include <nitro/wm.h>

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

Starts the power to the wireless hardware If the return value is `WM_ERRCODE_OPERATING`, a callback is called after power is supplied to the wireless hardware. This function can only be called when the WM is in the `STOP` state. As a result of this function, the state changes to `IDLE`.

## See Also

`WM_Init`, `WM_Enable`, `WM_PowerOff`, `WM_Disable`, `WM_Finish`, `WM_Initialize`, `WM_End`

## Revision History

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