#include <nitro/mb.h>
void MB_EndToIdle(void);
None.
None.
Ends MB library.
If the MB_StartParentFromIdle
function sets this DS device to act as the parent, the process ends automatically.
Memory assigned with the MB_Init
function, as well as the DMA channel, are freed, and the user can reuse them. When the termination process is complete, the argument status is returned for the value passed by MB_COMM_PSTATE_END
as a callback of MB_CommSetParentStateCallback
.
This function must be called in combination with a call to the MB_StartParentFromIdle
function.
If the wireless feature is operating, this function internally calls the WM_Reset
function to quit wireless communications. When the callback to signal the end is called, the wireless library enters the IDLE
state.
MB_Init MB_StartParentFromIdle
10/24/2004 Initial version.