IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


int BIOS_Set_Error ( unsigned int  errorCode,
unsigned long  details 
)

Sets the RTOS' fatal error record

Parameters:
errorCode Error code
Codes 0..999 are reserved for the RTOS.
Codes 1000..9999 are reserved for Beck drivers and libraries. (see BIOS_Set_Error_Handler() and constant BERR_DRIVER_START)
Codes starting at constant value BERR_APPLICATION_START can be used for user applications.
details This arbitrary integer value can be used to further describe the error.
Returns:
One of the following codes:
  • 0: Success
  • -1: Illegal (reserved) error code
Since:
SC2x3 V1.02 - CLIB V1.02
See also:
BIOS_Set_Error_Handler      Shell command ERRORS





Top of page | Main page

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