67 #ifndef ti_drivers_ports_DebugP__include
68 #define ti_drivers_ports_DebugP__include
79 #define DebugP_ASSERT_ENABLED 1
80 #define DebugP_LOG_ENABLED 1
89 #ifndef DebugP_ASSERT_ENABLED
90 #define DebugP_ASSERT_ENABLED 0
99 #ifndef DebugP_LOG_ENABLED
100 #define DebugP_LOG_ENABLED 0
103 #if DebugP_LOG_ENABLED
116 #define DEBUGP_LOGFXN_REGISTER_SUCCESS (0)
117 #define DEBUGP_LOGFXN_ALREADY_REGISTERD (-1)
134 #if DebugP_ASSERT_ENABLED
137 #define DebugP_assert(expression) (Osal_DebugP_assert_fcn(expression, \
140 #define DebugP_assert(expression)
155 #if DebugP_LOG_ENABLED
158 #define DebugP_exceptionLog(const char * format, uint32_t arg1, uint32_t arg2)
172 #if DebugP_LOG_ENABLED
175 #define DebugP_log0(format)
188 #if DebugP_LOG_ENABLED
191 #define DebugP_registerExcptnLogFxn(DebugP_exptnLogFxn fxn)
203 #if DebugP_LOG_ENABLED
206 #define DebugP_deRegisterExcptnLogFxn(void)
219 #if DebugP_LOG_ENABLED
222 #define DebugP_log1(format, p1)
237 #if DebugP_LOG_ENABLED
238 extern void DebugP_log2(
const char *format, uintptr_t p1, uintptr_t p2);
240 #define DebugP_log2(format, p1, p2)
255 #if DebugP_LOG_ENABLED
256 extern void DebugP_log3(
const char *format, uintptr_t p1, uintptr_t p2, uintptr_t p3);
258 #define DebugP_log3(format, p1, p2, p3)
274 #if DebugP_LOG_ENABLED
275 extern void DebugP_log4(
const char *format, uintptr_t p1, uintptr_t p2, uintptr_t p3, uintptr_t p4);
277 #define DebugP_log4(format, p1, p2, p3, p4)
void DebugP_deRegisterExcptnLogFxn(void)
Debug log function deregistration.
void DebugP_exceptionLog(const char *format, uint32_t arg1, uint32_t arg2)
DebugP Exception state log function. It takes a pair of values to be printed during exception dump.
void DebugP_log3(const char *format, uintptr_t p1, uintptr_t p2, uintptr_t p3)
Debug log function with 3 parameters.
int32_t DebugP_registerExcptnLogFxn(DebugP_exptnLogFxn fxn)
Debug log function registration.
void(* DebugP_exptnLogFxn)(const char *format,...)
Assert Enabled.
Definition: DebugP.h:108
void DebugP_log2(const char *format, uintptr_t p1, uintptr_t p2)
Debug log function with 2 parameters.
void Osal_DebugP_assert_fcn(bool expression, const char *filename, int32_t line)
Assert checking function.
void DebugP_log4(const char *format, uintptr_t p1, uintptr_t p2, uintptr_t p3, uintptr_t p4)
Debug log function with 4 parameters.
void DebugP_log1(const char *format, uintptr_t p1)
Debug log function with 1 parameters.
void DebugP_log0(const char *format)
Debug log function with 0 parameters.