This legacy API is implemented using the same @CHIP-RTOS-PPC interface as the BIOS_Set_Error_Handler() API. Refer to this other function's documentation for details.
The set of
error_code passed to the callback are slightly different from the legacy systems. Some old error codes do not appear, and others have been added.
The callback function actually receives a further parameter than indicated by the USER_ERROR_HANDLER type. This extra parameter (see BIOS_ERROR_HANDLER) can safely be ignored for compatibility with older software.
|[in] ||vector ||Callback function in user program. Set to NULL to remove a callback vector.|
- A previously set callback vector, else NULL if none was set.
- See BIOS_Set_Error_Handler()
- SC2x3 V1.00 - CLIB V1.00
- This API works slightly different than the SC1x, SC2x and SC1x3 C-Library. The return value applies only to the immediate program calling. If another program had installed a callback vector with this API, this other program's vector will not be reported here. Each program will receive a requested callback, independent of the requests from other programs.