IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


USER_ERROR_HANDLER BIOS_Install_Error_Handler ( USER_ERROR_HANDLER  vector  ) 

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.

Parameters:
[in] vector Callback function in user program. Set to NULL to remove a callback vector.
Returns:
A previously set callback vector, else NULL if none was set.
Deprecated:
See BIOS_Set_Error_Handler()
Since:
SC2x3 V1.00 - CLIB V1.00
Compatibility:
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.





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:36 2017 by Doxygen 1.6.1