

#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. Use the WM_Disable function after this to return the wireless hardware to the disabled state.
WM_Init, WM_Enable, WM_PowerOn, WM_Disable, WM_Finish, WM_Initialize, WM_End
2005/06/08 Added statement about callbacks being called from the interrupt handler.
2004/10/22 Changed return value type.
2004/09/11 Initial version.
CONFIDENTIAL