Download OS21 USER MANUAL - STMicroelectronics

Transcript
OS21
Callbacks
callback_exception_uninstall
Register a callback routine for exception delete events
Definition:
#include <os21.h>
callback_excp_uninstall_fn_t callback_exception_uninstall(
callback_excp_uninstall_fn_t fn);
Arguments:
callback_excp_uninstall_fn_t fn
Function to be called on exception handler
uninstall.
Returns:
Pointer to previously installed callback function. NULL if none.
Errors:
None
Context:
Callable from task or system context.
Description:
callback_exception_uninstall() registers a function to be called whenever
an exception handler uninstall occurs.
callback_excp_uninstall_fn_t is defined in callback.h as follows:
typedef void (*callback_excp_uninstall_fn_t)(void* handler);
where handler is the address of the handler being uninstalled.
See also:
exception_uninstall()
7358306
93/226