DSMCC  17.9.0
 All Data Structures Files Functions Typedefs
Functions
cldsmdbg.h File Reference

DSM Debug API header. More...

#include "stdfuncs.h"
#include "dsm_debug.h"
#include "cldsmtypes.h"

Go to the source code of this file.

Functions

void CDSM_SetPrintFuncs (F_Printf errorFunc, F_Printf warnFunc, F_Printf debugFunc, F_Printf infoFunc)
 Sets debug print functions for four different levels of detail. Any of these parameters can be set to NULL to turn off output All can be same function and default is NULL for all. More...
 
void CDSM_SetPrintState (U32BIT state)
 Sets debug print state to select areas of debug. More...
 
void CDSM_SetDebugState (H_DsmCoreInst dsm, U32BIT dbgMask)
 Set Debug mask for core DSM. More...
 

Detailed Description

DSM Debug API header.

Date
28 September 2013
Author
Adam Sturtridge

Definition in file cldsmdbg.h.

Function Documentation

void CDSM_SetDebugState ( H_DsmCoreInst  dsm,
U32BIT  dbgMask 
)

Set Debug mask for core DSM.

Parameters
dsmDSMCC core instance handle.
dbgMaskMask to filter debug messages
Returns

Definition at line 169 of file clDsmMain.c.

void CDSM_SetPrintFuncs ( F_Printf  errorFunc,
F_Printf  warnFunc,
F_Printf  debugFunc,
F_Printf  infoFunc 
)

Sets debug print functions for four different levels of detail. Any of these parameters can be set to NULL to turn off output All can be same function and default is NULL for all.

Parameters
F_PrintferrorFunc Pointer to error print function
F_PrintfwarmFunc Pointer to warn print function
F_PrintfdebugFunc Pointer to debug print function
F_PrintfinfoFunc Pointer to info print function
Returns
void

Definition at line 145 of file clDsmMain.c.

void CDSM_SetPrintState ( U32BIT  state)

Sets debug print state to select areas of debug.

Parameters
U32BITstate See defines above
Returns
void

Definition at line 156 of file clDsmMain.c.