Production Line Tool v5.0
The DA1470x Production Line Tool Software Package
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Enumerations | Functions
dbg_dll.h File Reference

Debug API DLL. More...

Go to the source code of this file.

Classes

struct  __dbg_params
 The main settings of the Debug DLL API. More...
 

Macros

#define __bool_true_false_are_defined   1
 
#define bool   char
 
#define true   1
 
#define false   0
 
#define DBG_DLL_EXPORTS
 
#define DBG_DLL_API   __declspec(dllexport)
 
#define DBG_MAX_STR_SIZE   1024
 
#define FILE_PATH_SIZE   256
 
#define DBG_SUCCESS   0
 
#define DBG_ERROR   1
 
#define DBG_WRONG_PARAMS   2
 

Typedefs

typedef enum _DBG_OUTPUT DBG_OUTPUT
 Enumeration that enables the different debug outputs. More...
 
typedef enum _DBG_LEVEL DBG_LEVEL
 Enumeration for the different debug levels. More...
 
typedef void(__stdcall * _dbg_clbk) (char *dbg_str)
 Debug API callback function type definition. Used at __dbg_params::dbg_clbk. More...
 
typedef struct __dbg_params _dbg_params
 The main settings of the Debug DLL API. More...
 

Enumerations

enum  _DBG_OUTPUT { DBG_TO_STDIO = 0x1 , DBG_TO_FILE = 0x2 , DBG_TO_CLBK = 0x4 , DBG_OUTPUT_INVALID = 0x8 }
 Enumeration that enables the different debug outputs. More...
 
enum  _DBG_LEVEL { DBG_LVL_ERR = 0x1 , DBG_LVL_INFO = 0x2 , DBG_LVL_DEBUG = 0x4 , DBG_LVL_INVALID = 0x8 }
 Enumeration for the different debug levels. More...
 

Functions

DBG_DLL_API int dbg_init (void **dbg_session, const _dbg_params *dbg_params_t)
 Initializes debugging. More...
 
DBG_DLL_API int dbg_close (const void *dbg_session)
 Closes the debug session. More...
 
DBG_DLL_API void dbg_print (void *dbg_session, DBG_LEVEL dbg_level, char *dbg_sw, char *func, int line, char *fmt,...)
 Debug print function. More...
 

Detailed Description

Debug API DLL.

Copyright (C) 2022 Dialog Semiconductor. This computer program includes Confidential, Proprietary Information of Dialog Semiconductor. All Rights Reserved.

bluet.nosp@m.ooth.nosp@m..supp.nosp@m.ort@.nosp@m.diase.nosp@m.mi.c.nosp@m.om

Definition in file dbg_dll.h.