MB_EndToIdle

C Specification

#include <nitro/mb.h>

void MB_EndToIdle(void);

Arguments

None.

Return Values

None.

Description

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.


Internal Operation

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.

See Also

MB_Init MB_StartParentFromIdle

Revision History

10/24/2004 Initial version.