PDK API Guide for J721E
|
DebugP interface
Macros | |
#define | DebugP_ASSERT_ENABLED 0 |
Assert Enabled. More... | |
#define | DebugP_LOG_ENABLED 0 |
Log Enabled. More... | |
#define | DebugP_assert(expression) |
Assert checking function. More... | |
#define | DebugP_log0(format) |
Debug log function with 0 parameters. More... | |
#define | DebugP_log1(format, p1) |
Debug log function with 1 parameters. More... | |
#define | DebugP_log2(format, p1, p2) |
Debug log function with 2 parameters. More... | |
#define | DebugP_log3(format, p1, p2, p3) |
Debug log function with 3 parameters. More... | |
#define | DebugP_log4(format, p1, p2, p3, p4) |
Debug log function with 4 parameters. More... | |
#define DebugP_ASSERT_ENABLED 0 |
Assert Enabled.
The defintion is used to control the feature if assertions are to be enabled or not. This flag can be enabled for debug builds by changing the file OR through the makefile.
#define DebugP_LOG_ENABLED 0 |
Log Enabled.
The defintion is used to plug the logging API to the OS provided logging mechansim Application developers can port the backend Logging API as per their requirements
#define DebugP_assert | ( | expression | ) |
Assert checking function.
If the expression is evaluated to true, the API does nothing. If it is evaluated to false, the underlying RTOS port implementation handles the assert via its mechanisms.
expression | Expression to evaluate |
#define DebugP_log0 | ( | format | ) |
Debug log function with 0 parameters.
The underlying RTOS port implementation handles the logging via its mechanisms.
format | "printf" format string |
#define DebugP_log1 | ( | format, | |
p1 | |||
) |
Debug log function with 1 parameters.
The underlying RTOS port implementation handles the logging via its mechanisms.
format | "printf" format string |
p1 | first parameter to format string |
#define DebugP_log2 | ( | format, | |
p1, | |||
p2 | |||
) |
Debug log function with 2 parameters.
The underlying RTOS port implementation handles the logging via its mechanisms.
format | "printf" format string |
p1 | first parameter to format string |
p2 | second parameter to format string |
#define DebugP_log3 | ( | format, | |
p1, | |||
p2, | |||
p3 | |||
) |
Debug log function with 3 parameters.
The underlying RTOS port implementation handles the logging via its mechanisms.
format | "printf" format string |
p1 | first parameter to format string |
p2 | second parameter to format string |
p3 | third parameter to format string |
#define DebugP_log4 | ( | format, | |
p1, | |||
p2, | |||
p3, | |||
p4 | |||
) |
Debug log function with 4 parameters.
The underlying RTOS port implementation handles the logging via its mechanisms.
format | "printf" format string |
p1 | first parameter to format string |
p2 | second parameter to format string |
p3 | third parameter to format string |
p4 | fourth parameter to format string |