DSMCC  17.9.0
 All Data Structures Files Functions Typedefs
Macros | Functions
dsm_debug.h File Reference

DSM-CC API functions to control DSM-CC instance. More...

#include "dsm_types.h"

Go to the source code of this file.

Macros

#define DD_GEN   (1 << 0)
 
#define DD_OC   (1 << 1)
 
#define DD_SF   (1 << 2)
 
#define DD_TIMER   (1 << 3)
 
#define DD_SE   (1 << 4)
 
#define DD_LM   (1 << 5)
 
#define DD_OBJ   (1 << 6)
 
#define DD_DC   (1 << 7)
 
#define DD_QUERY   (1 << 8)
 
#define DD_MOD   (1 << 9)
 
#define DD_ALL   ((1 << 10) - 1)
 
#define DS_MAIN   (1 << 16)
 
#define DS_QUERY   (1 << 17)
 
#define DS_CACHE   (1 << 18)
 
#define DS_PMT   (1 << 19)
 
#define DS_PAT   (1 << 20)
 
#define DS_FUNC   (1 << 21)
 
#define DS_ALL   (31 << 16)
 
#define DF_MAIN   (1 << 24)
 
#define DF_FILTER   (1 << 25)
 
#define DF_CACHE   (1 << 26)
 
#define DF_HWSF   (1 << 27)
 
#define DF_ALL   (15 << 24)
 
#define DM_SI   (1 << 29)
 
#define DM_CONTROL   (1 << 30)
 
#define DM_CLIENT   (1 << 31)
 

Functions

U32BIT DSMCC_DebugGetMask (void)
 Get the DSMCC debug mask. More...
 
void DSMCC_DebugSetMask (U32BIT mask)
 Set the DSMCC debug mask. More...
 
U32BIT DSMCC_DebugInstanceGetMask (H_DsmControl instance)
 Get the DSMCC debug mask for instance. More...
 
void DSMCC_DebugInstanceSetMask (H_DsmControl instance, U32BIT mask)
 Set the DSMCC debug mask. More...
 
void DSMCC_DebugInstanceEnable (H_DsmControl dsmctrl, const char *rootname)
 Enable DSMCC debug for an instance, by reading environment variables with name format: <rootname>_<maskname>. E.g. DSMOTA_DS_PMT. More...
 

Detailed Description

DSM-CC API functions to control DSM-CC instance.

Date
21/08/2014
Author
Adam Sturtridge

Definition in file dsm_debug.h.

Function Documentation

U32BIT DSMCC_DebugGetMask ( void  )

Get the DSMCC debug mask.

Returns
Debug mask

Definition at line 2052 of file dsm_control.c.

void DSMCC_DebugInstanceEnable ( H_DsmControl  dsmctrl,
const char *  rootname 
)

Enable DSMCC debug for an instance, by reading environment variables with name format: <rootname>_<maskname>. E.g. DSMOTA_DS_PMT.

Parameters
instanceDSM control instance handle
rootnameRoot name for environment variables for this instance
Returns
void

Definition at line 2154 of file dsm_control.c.

U32BIT DSMCC_DebugInstanceGetMask ( H_DsmControl  instance)

Get the DSMCC debug mask for instance.

Parameters
dsmctrlDSM control instance handle
Returns
Debug mask

Definition at line 2097 of file dsm_control.c.

void DSMCC_DebugInstanceSetMask ( H_DsmControl  instance,
U32BIT  mask 
)

Set the DSMCC debug mask.

Parameters
instanceDSM control instance handle
maskmask value
Returns
void

Definition at line 2122 of file dsm_control.c.

void DSMCC_DebugSetMask ( U32BIT  mask)

Set the DSMCC debug mask.

Parameters
maskmask value
Returns
void

Definition at line 2066 of file dsm_control.c.