Jump to main content

##

# 1.2.5.4 Library Interface

Debug System Service library provides the following interfaces:

Functions

Name | Description
--- | ---
SYS_DEBUG_Initialize | Initializes the global error level and specific module instance
SYS_DEBUG_Status | Returns status of the specific instance of the debug service module
SYS_DEBUG_ErrorLevelSet | Sets the global system error reporting level
SYS_DEBUG_ErrorLevelGet | Returns the global system Error reporting level
SYS_DEBUG_Redirect | Allows re-direction of debug system service to another console instance
SYS_DEBUG_ConsoleInstanceGet | Returns console instance used by debug system service

Data types and constants

Name | Type | Description
--- | --- | ---
SYS_ERROR_LEVEL | Enum | System error message priority levels
SYS_DEBUG_INDEX_0 | Macro | Debug System Service index
SYS_DEBUG_MESSAGE | Macro | Prints a debug message if the system error level is defined at or lower than the level specified
SYS_DEBUG_PRINT | Macro | Formats and prints an error message if the system error level is defined at or lower than the level specified
SYS_DEBUG_BreakPoint | Macro | Inserts a software breakpoint instruction when building in Debug mode