DSMCC  15.3.1
source/dscore/inc/cldsmdbg.h File Reference

DSM Debug API header. More...

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

Go to the source code of this file.

Functions

void clDsmSetPrintFuncs (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.
void clDsmSetPrintState (U32BIT state)
 Sets debug print state to select areas of debug.

Detailed Description

DSM Debug API header.

Date:
28 September 2013
Author:
Adam Sturtridge

Function Documentation

void clDsmSetPrintFuncs ( 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
void clDsmSetPrintState ( U32BIT  state)

Sets debug print state to select areas of debug.

Parameters:
U32BITstate See defines above
Returns:
void
 All Data Structures Files Functions Typedefs