www.beck-ipc.com

@CHIP-RTOS C Library - BIOS API


BIOS_Set_Error

Set fatal error record

int BIOS_Set_Error(unsigned errorCode, unsigned long details);

Parameters

errorCode

Error code
Codes 0..999 are reserved for the RTOS.
Codes 1000..9999 are reserved for Beck drivers and libraries. (see BIOS_Install_Error_Handler)
Codes 10000... can be used for user applications.

details

This arbitrary integer value can be used to describe the error more detailed.

Return Value

0: Success
-1: Illegal (reserved) error code

Comments

Sets the RTOS' fatal error record

See Also

RTOS API

This library function invokes an RTOS software interrupt.   Refer to this RTOS API function's documentation for more details.

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3SC2x
    n/an/an/aV1.30V1.30

Supported by @CHIP-RTOS C Library since version

    CLIB
    V2.17

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document