#include <revolution/mp.h>
typedef void (*MPIndicationCallback)( s32 type, MPIndicationInfo *info );static inline void MPSetIndicationConfig ( MPConfig* config, MPIndicationCallback callback );
config |
MP communications settings |
callback |
Callback for indication notification |
None.
Sets the indication notification callback for MPConfig. This inline function assigns values to particular member variables in MPConfig.
Settings made with this function must be made before calling MPStartup function.
Only fatal error notifications notified as MP_INDICATION_TYPE_FATAL_ERROR are defined as indication notifications. Detection of fatal errors and acquisition of error types can be managed by calling the MPGetFatalError function when the MP function has returned MP_RESULT_FATAL_ERROR. For this reason, it is not always necessary to set a callback for indication notification.
MPStartup(), MPSetPortConfig(), MPConfig
2006/09/04 Added descriptions.
2006/06/29 Initial version.
CONFIDENTIAL