#include <nitro/wm.h>
WMErrCode WM_PowerOff( WMCallbackFunc callback );
callback |
Designates the callback function to call when the asynchronous process completes. This callback is called from within the interrupt handler. |
Returns the results of the WMErrCode
enumerated type process.
Shuts down the wireless hardware and stops the power to the WM If the return value is WM_ERRCODE_OPERATING
, a callback is generated after the shutdown process completes. This function can only be called when the WM is in the IDLE
state. As a result of this function, the state changes to STOP
. After calling this function, use WM_Disable
to return the WM hardware to the disabled state.
WM_Init
, WM_Enable
, WM_PowerOn
, WM_Disable
, WM_Finish
, WM_Initialize
, WM_End
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