1.2.3.6 MC_PeriodicHandlerRegister()

void MC_PeriodicHandlerRegister (mc_status_handler_t pHandler)

Registers a user's function as a callback. The user's function must have the prototype:

void function(void)
Note:

Call this function from normal context, not from interrupt context.

Parameters:
in pHandler

The user's function to be called

Returns:

None.