#include <nitro/mb.h>void MB_End(void);None.
None.
Ends MB library.
If the MB_StartParent function has configured this device to run as the parent device, this function ends that processing automatically.
The DMA channels and memory assigned with the MB_Init function are freed and become available to the user again.
When the termination process is complete, the argument status is returned for the value passed by MB_COMM_PSTATE_END as a callback of the MB_CommSetParentStateCallback function.
This function must be called in combination with a call to the MB_StartParent function.
If wireless features are operating, this function calls the WM_End function internally to stop wireless communications.
Once the completion callback has been invoked, the wireless library is in its pre-initialization state.
2004/10/18 Clarified the correspondence with MB_StartParent.
2004/10/15 Corrected the WM state at the time of completion.
2004/10/05 Added description regarding the WM status at the time of termination.
2004/09/10 Added description regarding the callback.
2004/08/09 Initial version.
CONFIDENTIAL