MB_EndToIdle

Syntax

#include <nitro/mb.h>

void MB_EndToIdle(void);

Arguments

None.

Return Values

None.

Description

Ends MB library.
If the MB_StartParentFromIdle function has configured this device to run as the parent device, this function automatically ends that processing.

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_StartParentFromIdle function.


Internal Operation

If wireless features are operating, this function calls the WM_Reset function internally to stop wireless communications.
When the completion callback is called, the wireless library enters the IDLE state.

See Also

MB_Init
MB_StartParentFromIdle

Revision History

2004/10/24 Initial version.


CONFIDENTIAL